git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1 from RowanHeinrich/patch-4
[matches/MCTX3420.git]
/
server
/
fastcgi.h
diff --git
a/server/fastcgi.h
b/server/fastcgi.h
index
c1e0b3e
..
8678a77
100644
(file)
--- a/
server/fastcgi.h
+++ b/
server/fastcgi.h
@@
-17,7
+17,8
@@
typedef enum StatusCodes {
STATUS_OK = 1,
STATUS_ERROR = -1,
STATUS_UNAUTHORIZED = -2,
STATUS_OK = 1,
STATUS_ERROR = -1,
STATUS_UNAUTHORIZED = -2,
- STATUS_OUTOFRANGE = -3
+ STATUS_NOTRUNNING = -3,
+ STATUS_ALREADYEXISTS = -4
} StatusCodes;
#define FCGI_PARAM_REQUIRED (1 << 0)
} StatusCodes;
#define FCGI_PARAM_REQUIRED (1 << 0)
@@
-58,6
+59,8
@@
extern void FCGI_RejectJSONEx(FCGIContext *context, StatusCodes status, const ch
extern char *FCGI_EscapeText(char *buf);
extern void *FCGI_RequestLoop (void *data);
extern char *FCGI_EscapeText(char *buf);
extern void *FCGI_RequestLoop (void *data);
+extern void FCGI_WriteBinary(void * data, size_t size, size_t num_elem);
+
/**
* Shortcut to calling FCGI_RejectJSONEx. Sets the error code
* to STATUS_ERROR.
/**
* Shortcut to calling FCGI_RejectJSONEx. Sets the error code
* to STATUS_ERROR.
UCC
git Repository :: git.ucc.asn.au