gfaipc.h 892 B

12345678910111213141516171819202122232425262728
  1. // gfaipc.h :
  2. //
  3. #if !defined(AGD_GFAIPC_H__6126047E_C1B1_4ACE_BD49_8780C7E5E068__INCLUDED_)
  4. #define AGD_GFAIPC_H__6126047E_C1B1_4ACE_BD49_8780C7E5E068__INCLUDED_
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif // __cplusplus
  8. /////////////////////////////////////////////////////////////////////////////
  9. // gfaipc.h - Declarations:
  10. typedef void *HSHM;
  11. HSHM GfaIpcAcquireSHM (const char *pszUuid, size_t nSizeElement, size_t nCntElements, const char *pszDescName);
  12. void GfaIpcReleaseSHM (HSHM hShm);
  13. void* GfaIpcAcquirePointer(HSHM hShm);
  14. void GfaIpcReleasePointer(HSHM hShm, const void *p);
  15. void GfaIpcLockSHM (HSHM hShm);
  16. void GfaIpcUnlockSHM (HSHM hShm);
  17. void GfaIpcDumpSHMROT (void);
  18. /////////////////////////////////////////////////////////////////////////////
  19. #ifdef __cplusplus
  20. }
  21. #endif // __cplusplus
  22. #endif // !defined(AGD_GFAIPC_H__6126047E_C1B1_4ACE_BD49_8780C7E5E068__INCLUDED_)