src/server/public/nsapi.h

branch
webdav
changeset 211
2160585200ac
parent 193
aa8393527b1e
child 260
4779a6fb4fbe
equal deleted inserted replaced
210:21274e5950af 211:2160585200ac
107 #endif /* XP_WIN32 */ 107 #endif /* XP_WIN32 */
108 108
109 /* --- End native platform configuration definitions --- */ 109 /* --- End native platform configuration definitions --- */
110 110
111 /* --- Begin miscellaneous definitions --- */ 111 /* --- Begin miscellaneous definitions --- */
112
113 #define WS_TRUE 1
114 #define WS_FALSE 0
112 115
113 /* Used in some places as a length limit on error messages */ 116 /* Used in some places as a length limit on error messages */
114 #define MAGNUS_ERROR_LEN 1024 117 #define MAGNUS_ERROR_LEN 1024
115 118
116 /* Carriage return and line feed */ 119 /* Carriage return and line feed */
402 405
403 // NOTE: no they are not NSPR PRFileDesc* 406 // NOTE: no they are not NSPR PRFileDesc*
404 // they are VFSFile* 407 // they are VFSFile*
405 // TODO: fix NOTE 408 // TODO: fix NOTE
406 409
410 typedef int WSBool;
407 411
408 #ifndef SYS_FILE_T 412 #ifndef SYS_FILE_T
409 typedef struct VFSFile *SYS_FILE; 413 typedef struct VFSFile *SYS_FILE;
410 #define SYS_FILE_T void * 414 #define SYS_FILE_T void *
411 #endif /* !SYS_FILE_T */ 415 #endif /* !SYS_FILE_T */

mercurial