Skip to content

Commit

Permalink
Changed definition of Ns_QueueWait, added NS_FILTER_READ and
Browse files Browse the repository at this point in the history
NS_FILTER_WRITE constants and definition for new Ns_ConnContentAvail.
  • Loading branch information
jgdavidson committed Dec 8, 2009
1 parent 1d59aca commit 758b134
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/ns.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* All the public types and function declarations for the core
* AOLserver.
*
* $Header: /Users/dossy/Desktop/cvs/aolserver/include/ns.h,v 1.88 2009/02/01 17:45:34 gneumann Exp $
* $Header: /Users/dossy/Desktop/cvs/aolserver/include/ns.h,v 1.89 2009/12/08 04:10:56 jgdavidson Exp $
*/

#ifndef NS_H
Expand Down Expand Up @@ -103,6 +103,8 @@
#define NS_FILTER_TRACE 4
#define NS_FILTER_VOID_TRACE 8
#define NS_FILTER_PRE_QUEUE 16
#define NS_FILTER_READ 32
#define NS_FILTER_WRITE 64
#define NS_REGISTER_SERVER_TRACE 16
#define NS_OP_NOINHERIT 2
#define NS_OP_NODELETE 4
Expand Down Expand Up @@ -655,6 +657,7 @@ NS_EXTERN Ns_Set *Ns_ConnOutputHeaders(Ns_Conn *conn);
NS_EXTERN char *Ns_ConnAuthUser(Ns_Conn *conn);
NS_EXTERN char *Ns_ConnAuthPasswd(Ns_Conn *conn);
NS_EXTERN int Ns_ConnContentLength(Ns_Conn *conn);
NS_EXTERN int Ns_ConnContentAvail(Ns_Conn *conn);
NS_EXTERN char *Ns_ConnContent(Ns_Conn *conn);
NS_EXTERN char *Ns_ConnServer(Ns_Conn *conn);
NS_EXTERN int Ns_ConnResponseStatus(Ns_Conn *conn);
Expand Down Expand Up @@ -697,7 +700,7 @@ NS_EXTERN int Ns_GetAllAddrByHost(Ns_DString *dsPtr, char *host);

NS_EXTERN int Ns_DriverInit(char *server, char *module,
Ns_DriverInitData *init);
NS_EXTERN void Ns_QueueWait(Ns_Conn *conn, SOCKET sock, Ns_QueueWaitProc *proc,
NS_EXTERN int Ns_QueueWait(Ns_Conn *conn, SOCKET sock, Ns_QueueWaitProc *proc,
void *arg, int when, Ns_Time *timePtr);

/*
Expand Down

0 comments on commit 758b134

Please sign in to comment.