ITK Function Reference

(V10000.1.0.60_20160308.00)
ss_types.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 /* */
13 
14 #ifndef SS_TYPES_H
15 #define SS_TYPES_H
16 
17 #include <unidefs.h>
18 #include <ss/ss_const.h>
19 #include <stdarg.h>
20 
21 #ifdef WNT
22  #include <windows.h>
23 #endif
24 #include <ss/libss_exports.h>
25 
33 #ifdef WNT
34  typedef HANDLE SS_pipe_handle_t;
35 #else
36  typedef int SS_pipe_handle_t;
37 #endif
38 
42 typedef struct {
43  int fd;
44  int context;
45  int file_type;
46  int format;
47  int mode;
49  int translate;
50  char path[SS_MAXPATHLEN];
51  char node[SS_MAXHOSTLEN];
53 
57 typedef int SS_fd;
58 
62 typedef int SS_dir;
63 
67 typedef struct {
68  #ifdef WNT
69  PROCESS_INFORMATION procinfo;
70  #endif
71  int pid;
72  char node[SS_MAXHOSTLEN];
73 } SS_pid;
74 
78 typedef struct {
79  long int id;
80  char node[SS_MAXHOSTLEN];
81 } SS_key;
82 
86 typedef struct {
88  int proto;
89  int service;
90  long int id;
91 } SS_net_key;
92 
96 typedef struct {
97  int oid;
98  int gid;
99  int pmode;
100  int ftype;
101  int crd;
102  int mdd;
103  int fmt;
104  unsigned long int size;
105  char path[SS_MAXPATHLEN];
107 
111 typedef struct {
112  int len;
113  char buf[SS_MAXPATHLEN];
114 } SS_fspec_t;
115 
116 typedef int (*SS_function_ptr_t)(
117  void*,
118  int,
119  char**,
120  va_list args
121  );
122 
125 #include <ss/libss_undef.h>
126 #endif