UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pep_defs.h
1 /* pep_defs.h */
2 /* $Id: pep_defs.h,v 1.3 2008/05/05 14:15:45 vlad Exp $ */
3 #ifndef __pep_defs_h
4 #define __pep_defs_h
5 
6 #include <sys/types.h>
7 
8 
9 /*************************************************************
10  *
11  * Limitations of PEP
12  *
13  *************************************************************/
14 
16 #define PEP_UDC_FIXED_SIZE 1024
17 
19 #ifdef SHM_SIZE
20 #define PEP_USE_SHM_SIZE 1
21 #else
22 #define PEP_USE_SHM_SIZE 0
23 #endif /* !SHM_SIZE */
24 
26 #define PEP_IPC_MASK 0600 /* rw------- */
27 
29 #define PEP_MAX_NAME_LEN 99
30 
31 /* Predefined protocols: */
32 
34 #define PEP_INPUT "parameters"
35 
37 #define PEP_RUNTIME "runtime"
38 
40 #define PEP_OUTPUT "results"
41 
43 #define PEP_PROPS "properties"
44 
46 typedef enum
47 {
48  pepServer,
49  pepClient,
50  pepLocal
52 } pepAccess;
53 
55 typedef struct
56 {
57  char *name;
58  char *value;
61 
62 /*
63  * Application type limitations and predefines.
64  */
65 
67 #define PEP_STRING_LEN (PEP_UDC_FIXED_SIZE-1)
68 
69 
70 #endif /* pep_defs.h */
char * name
Definition: pep_defs.h:57
Definition: pep_defs.h:55
char * value
Definition: pep_defs.h:58