|
Last change
on this file since 100 was 77, checked in by umoeller, 24 years ago |
|
Added apps.c, semaphores.c
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | *@@sourcefile semaphores.h:
|
|---|
| 4 | * header file for semaphores.c. See remarks there.
|
|---|
| 5 | *
|
|---|
| 6 | * Note: Version numbering in this file relates to XWorkplace version
|
|---|
| 7 | * numbering.
|
|---|
| 8 | *
|
|---|
| 9 | *@@include #define INCL_DOSSEMAPHORES
|
|---|
| 10 | *@@include #include <os2.h>
|
|---|
| 11 | *@@include #include "semaphores.h"
|
|---|
| 12 | */
|
|---|
| 13 |
|
|---|
| 14 | /*
|
|---|
| 15 | * Copyright (C) 2001 Ulrich Mller.
|
|---|
| 16 | * This file is part of the "XWorkplace helpers" source package.
|
|---|
| 17 | * This is free software; you can redistribute it and/or modify
|
|---|
| 18 | * it under the terms of the GNU General Public License as published
|
|---|
| 19 | * by the Free Software Foundation, in version 2 as it comes in the
|
|---|
| 20 | * "COPYING" file of the XWorkplace main distribution.
|
|---|
| 21 | * This program is distributed in the hope that it will be useful,
|
|---|
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 24 | * GNU General Public License for more details.
|
|---|
| 25 | */
|
|---|
| 26 |
|
|---|
| 27 | #if __cplusplus
|
|---|
| 28 | extern "C" {
|
|---|
| 29 | #endif
|
|---|
| 30 |
|
|---|
| 31 | #ifndef SEMAPHORES_HEADER_INCLUDED
|
|---|
| 32 | #define SEMAPHORES_HEADER_INCLUDED
|
|---|
| 33 |
|
|---|
| 34 | typedef unsigned long HRW;
|
|---|
| 35 | typedef HRW *PHRW;
|
|---|
| 36 |
|
|---|
| 37 | APIRET semCreateRWMutex(PHRW phrw);
|
|---|
| 38 |
|
|---|
| 39 | APIRET semDeleteRWMutex(PHRW phrw);
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | #endif
|
|---|
| 43 |
|
|---|
| 44 | #if __cplusplus
|
|---|
| 45 | }
|
|---|
| 46 | #endif
|
|---|
| 47 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.