1 #ifndef _WAPI_SHARED_H_
2 #define _WAPI_SHARED_H_
4 struct _WapiScratchHeader
6 /* These two can be merged */
12 WAPI_SHM_SCRATCH_FREE=0x1,
15 extern gpointer _wapi_shm_attach (guint32 *scratch_size);
16 extern void _wapi_shm_destroy (void);
18 extern guint32 _wapi_shm_scratch_store (guchar *storage, gconstpointer data,
20 extern guchar *_wapi_shm_scratch_lookup_as_string (guchar *storage,
22 extern void _wapi_shm_scratch_delete (guchar *storage, guint32 idx);
24 #endif /* _WAPI_SHARED_H_ */