]> granicus.if.org Git - apache/commitdiff
Break out the hook implementations into three kinds, thus avoiding null macro
authorBen Laurie <ben@apache.org>
Sat, 31 Jul 1999 09:31:21 +0000 (09:31 +0000)
committerBen Laurie <ben@apache.org>
Sat, 31 Jul 1999 09:31:21 +0000 (09:31 +0000)
arguments. Gates made me do it!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83546 13f79535-47bb-0310-9956-ffa450edef68

server/connection.c

index 00ea8ab91f68cf4977d7052e4a1677191d703a6a..1950069dc7a9d3fd10e6079e7e248a1a53bdc278 100644 (file)
@@ -69,8 +69,8 @@ HOOK_STRUCT(
            HOOK_LINK(process_connection)
 );
 
-IMPLEMENT_VOID_HOOK(pre_connection,(conn_rec *c),(c))
-IMPLEMENT_HOOK(int,process_connection,(conn_rec *c),(c),RUN_FIRST,OK,DECLINED)
+IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c))
+IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
 
 /* TODO: re-implement the lingering close stuff */
 #define NO_LINGCLOSE