Coda Distributed File System
rescomm.private.h
Go to the documentation of this file.
1/* BLURB gpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU General Public Licence Version 2, as shown in the
11file LICENSE. The technical and financial contributors to Coda are
12listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16
17#*/
18
19/* rescomm.private.h
20 * Created Puneet Kumar, June 1990
21 */
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27extern void ResProcWait(char *);
28extern void ResProcSignal(char *, int = 0);
29
30#define CONDITION_INIT(c)
31#define CONDITION_WAIT(c, m) ResProcWait((char *)(c))
32#define CONDITION_SIGNAL(c) ResProcSignal((char *)(c))
33
34#define TRANSLATE_TO_LOWER(s) \
35 { \
36 for (char *c = s; *c; c++) \
37 if (isupper(*c)) \
38 *c = tolower(*c); \
39 }
40
41#ifdef __cplusplus
42}
43#endif
void ResProcSignal(char *, int=0)
Definition: rescomm.cc:73
void ResProcWait(char *)
Definition: rescomm.cc:67