/opt/source/Wonder/Utilities/Adaptors/Adaptor/appcfg.h File Reference

#include <time.h>

Include dependency graph for appcfg.h:

This graph shows which files directly or indirectly include this file:


Classes

struct  _WebObjects_config_handler
struct  _WOAppStruct
struct  _WOInstanceStruct

Defines

#define ac_checkedOutApp(appHandle)   ((WOApp *)elementPointer(((ShmemArray *)apps), appHandle))
#define ac_checkedOutInstance(instanceHandle)   ((WOInstance *)elementPointer(((ShmemArray *)instances), instanceHandle))
#define ac_checkinApp(appHandle)   (sha_checkin(apps, appHandle))
#define ac_checkinInstance(instanceHandle)   (sha_checkin(instances, instanceHandle))
#define ac_checkoutApp(appHandle)   ((WOApp *)sha_checkout(apps, appHandle))
#define ac_checkoutInstance(instanceHandle)   ((WOInstance *)sha_checkout(instances, instanceHandle))
#define AC_INVALID_HANDLE   (-1)
#define ac_localInstanceData(instanceHandle, key)   ((void *)sha_localDataForKey(instances, instanceHandle, key))
#define ac_lockApp(appHandle)   ((_WOApp *)sha_lock(apps, appHandle))
#define ac_lockedApp(appHandle)   ((_WOApp *)elementPointer(((ShmemArray *)apps), appHandle))
#define ac_lockedInstance(instanceHandle)   ((_WOInstance *)elementPointer(((ShmemArray *)instances), instanceHandle))
#define ac_lockInstance(instanceHandle)   ((_WOInstance *)sha_lock(instances, instanceHandle))
#define ac_setLocalInstanceData(instanceHandle, key, value, cb)   (sha_setLocalDataForKey(instances, instanceHandle, key, value, cb))
#define ac_unlockApp(appHandle)   (sha_unlock(apps, appHandle))
#define ac_unlockInstance(instanceHandle)   (sha_unlock(instances, instanceHandle))

Typedefs

typedef struct _WOAppStruct _WOApp
typedef struct _WOInstanceStruct _WOInstance
typedef struct
_WebObjects_config_handler 
WebObjects_config_handler
typedef const _WOApp WOApp
typedef int WOAppHandle
typedef const _WOInstance WOInstance
typedef int WOInstanceHandle

Functions

int ac_authorizeAppListing (struct _WOURLComponents *wc)
void ac_cycleInstance (_WOInstance *instance, int oldGeneration)
void ac_description (struct _String *str)
WOAppHandle ac_findApplication (const char *name)
WOInstanceHandle ac_findInstance (WOApp *app, char *instanceNumber)
int ac_init (struct _strtbl *dict)
void ac_listApps (struct _String *content, const char *adaptor_url)
int ac_readConfiguration ()
void ac_resetConfigTimers ()
void ac_updateApplication (struct _strtbl *appSettingsDict, struct _list *instancesSettings)

Variables

void * apps
void * instances

Define Documentation

#define ac_checkedOutApp ( appHandle   )     ((WOApp *)elementPointer(((ShmemArray *)apps), appHandle))

#define ac_checkedOutInstance ( instanceHandle   )     ((WOInstance *)elementPointer(((ShmemArray *)instances), instanceHandle))

#define ac_checkinApp ( appHandle   )     (sha_checkin(apps, appHandle))

#define ac_checkinInstance ( instanceHandle   )     (sha_checkin(instances, instanceHandle))

#define ac_checkoutApp ( appHandle   )     ((WOApp *)sha_checkout(apps, appHandle))

#define ac_checkoutInstance ( instanceHandle   )     ((WOInstance *)sha_checkout(instances, instanceHandle))

#define AC_INVALID_HANDLE   (-1)

#define ac_localInstanceData ( instanceHandle,
key   )     ((void *)sha_localDataForKey(instances, instanceHandle, key))

#define ac_lockApp ( appHandle   )     ((_WOApp *)sha_lock(apps, appHandle))

#define ac_lockedApp ( appHandle   )     ((_WOApp *)elementPointer(((ShmemArray *)apps), appHandle))

#define ac_lockedInstance ( instanceHandle   )     ((_WOInstance *)elementPointer(((ShmemArray *)instances), instanceHandle))

#define ac_lockInstance ( instanceHandle   )     ((_WOInstance *)sha_lock(instances, instanceHandle))

#define ac_setLocalInstanceData ( instanceHandle,
key,
value,
cb   )     (sha_setLocalDataForKey(instances, instanceHandle, key, value, cb))

#define ac_unlockApp ( appHandle   )     (sha_unlock(apps, appHandle))

#define ac_unlockInstance ( instanceHandle   )     (sha_unlock(instances, instanceHandle))


Typedef Documentation

typedef struct _WOAppStruct _WOApp

typedef const _WOApp WOApp

typedef int WOAppHandle

typedef const _WOInstance WOInstance

typedef int WOInstanceHandle


Function Documentation

int ac_authorizeAppListing ( struct _WOURLComponents wc  ) 

void ac_cycleInstance ( _WOInstance instance,
int  oldGeneration 
)

void ac_description ( struct _String str  ) 

WOAppHandle ac_findApplication ( const char *  name  ) 

WOInstanceHandle ac_findInstance ( WOApp app,
char *  instanceNumber 
)

int ac_init ( struct _strtbl dict  ) 

void ac_listApps ( struct _String content,
const char *  adaptor_url 
)

int ac_readConfiguration (  ) 

void ac_resetConfigTimers (  ) 

void ac_updateApplication ( struct _strtbl appSettingsDict,
struct _list instancesSettings 
)


Variable Documentation

void* apps

void* instances


Generated on Sat May 26 06:42:04 2012 for Project Wonder by  doxygen 1.5.8