Aw

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	- setSequence type methods use EventToHash code.
	- numerous fixes for return of arrays of references.
	- Aw::Event::getEnvelope method added.
	- Aw::Event::getPubId method added.
	- Aw::Event::getField now returns a generic SV.
	- Aw::Event::getFIELD returns a hash with "value" and "type" keys.
	- added BEGIN blocks throughout.

0.10b Tue Mar 14 12:40:07 EST 2000

	- some memory leaks for variables in callbacks pushed onto Perl's stack.
	- The Aw::Log data type now includes maxMessagesize which has a default
	  value of 2048.  Methods getMessageSize and setMessageSize are provided
	  to manipulate this value.
	- "strict" added to all .pm files.
	- Makefile.PL is smart enough to know where default libraries and include
	  files reside.
	- Apache::Toe and tictactoe adapter added.
	- fixes here and there.

0.10a Mon Jan 17 16:14:29 EST 2000

include/awxs.h  view on Meta::CPAN

#ifndef AWXS_H
#define AWXS_H 1


typedef struct {
	awAdapter * adapter;
	awAdapterHandle * handle;  /* for handles passed in callbacks */
	BrokerError err;
	char * errMsg;
	char Warn;
	unsigned char callback;
	unsigned char firstCB;
} xsAdapter;


typedef struct {
	awAdapterEventType * adapterET;

xs/Aw.xs  view on Meta::CPAN

			/* start logging */
			awAdapterInitLogging ( awProperties );

			/* create the adapter structure */
			RETVAL->adapter = awAdapterCreate ( awProperties, version );
		}
		else {
			RETVAL->adapter = NULL;
		}

		/* register our callbacks */
		RETVAL->adapter->setupEventFunction         =& setupEvent;
		RETVAL->adapter->processRequestFunction     =& processRequest;
		RETVAL->adapter->cleanupEventTypeFunction   =& cleanupEventType;
		RETVAL->adapter->beginSetupFunction         =& beginSetup;
		RETVAL->adapter->endSetupFunction           =& endSetup;
		RETVAL->adapter->processPublicationFunction =& processPublication;
		RETVAL->adapter->beginTransactionFunction   =& beginTransaction;
		RETVAL->adapter->endTransactionFunction     =& endTransaction;

	OUTPUT:



( run in 0.857 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )