12345678910111213141516171819202122 |
- // singleton.h :
- //
- #if !defined(AGD_SINGLETON_H__19298C2E_564D_4BA5_82FE_3D5C9A705C55__INCLUDED_)
- #define AGD_SINGLETON_H__19298C2E_564D_4BA5_82FE_3D5C9A705C55__INCLUDED_
- #ifdef __cplusplus
- extern "C" {
- #endif // __cplusplus
- /////////////////////////////////////////////////////////////////////////////
- // singleton.h - Declarations:
- int AcquirePidFileLock(const char *pszProcessName, const char *pszPidFile);
- void ReleasePidFileLock(void);
- int GetPidFilePID(const char *pszPidFile);
- /////////////////////////////////////////////////////////////////////////////
- #ifdef __cplusplus
- }
- #endif // __cplusplus
- #endif // !defined(AGD_SINGLETON_H__19298C2E_564D_4BA5_82FE_3D5C9A705C55__INCLUDED_)
|