home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / NETCLB35.ZIP / NETCLB35.EXE / INCLUDE / NWSYNC.H < prev    next >
C/C++ Source or Header  |  1996-01-03  |  684b  |  25 lines

  1. #ifndef NWSYNC_H
  2. #define NWSYNC_H
  3.  
  4. /***************************************/
  5. /* Synchronisation Services prototypes */
  6. /***************************************/
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. int   CloseSemaphore(long semaphoreHandle);
  12. int   ExamineSemaphore(long semaphoreHandle,
  13.                  int *semaphoreValue,
  14.                  word *openCount);
  15. int   OpenSemaphore(char *semaphoreName,
  16.                  int initialValue,long *semaphoreHandle,
  17.                  word *openCount);
  18. int   SignalSemaphore(long semaphoreHandle);
  19. int   WaitOnSemaphore(long semaphoreHandle,int timeoutLimit);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23.                      
  24. #endif
  25.