DumpEventsServer, LoadEventServer
authorJan Pospíšil <honik@ntc.zcu.cz>
Tue, 12 Jun 2007 11:56:03 +0000 (11:56 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Tue, 12 Jun 2007 11:56:03 +0000 (11:56 +0000)
org.glite.lb.server/src/dump.c
org.glite.lb.server/src/lb_proto.c
org.glite.lb.server/src/load.c
org.glite.lb.server/src/srv_purge.c

index 71a31c6..ea926d0 100644 (file)
@@ -25,7 +25,7 @@ static int handle_specials(edg_wll_Context,time_t *);
 
 #define sizofa(a) (sizeof(a)/sizeof((a)[0]))
 
-int edg_wll_DumpEvents(edg_wll_Context ctx,const edg_wll_DumpRequest *req,edg_wll_DumpResult *result)
+int edg_wll_DumpEventsServer(edg_wll_Context ctx,const edg_wll_DumpRequest *req,edg_wll_DumpResult *result)
 {
        char    *from_s, *to_s, *stmt, *time_s, *ptr;
        char    *tmpfname;
index ef65998..8428f3c 100644 (file)
@@ -667,7 +667,7 @@ edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx,
                        else {
                                int     fatal = 0;
                                
-                               switch (edg_wll_DumpEvents(ctx,(const edg_wll_DumpRequest *) &request, &result)) {
+                               switch (edg_wll_DumpEventsServer(ctx,(const edg_wll_DumpRequest *) &request, &result)) {
                                        case 0: if (html) ret = HTTP_NOTIMPL;
                                                else      ret = HTTP_OK; 
                                                break;
@@ -699,7 +699,7 @@ edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx,
                        else {
                                int     fatal = 0;
                                
-                               switch (edg_wll_LoadEvents(ctx,(const edg_wll_LoadRequest *) &request, &result)) {
+                               switch (edg_wll_LoadEventsServer(ctx,(const edg_wll_LoadRequest *) &request, &result)) {
                                        case 0: if (html) ret = HTTP_NOTIMPL;
                                                else      ret = HTTP_OK; 
                                                break;
index 9db226f..5d2f431 100644 (file)
@@ -27,7 +27,7 @@
 
 static int read_line(char **buff, size_t *maxsize, int fd);
 
-int edg_wll_LoadEvents(edg_wll_Context ctx,const edg_wll_LoadRequest *req,edg_wll_LoadResult *result)
+int edg_wll_LoadEventsServer(edg_wll_Context ctx,const edg_wll_LoadRequest *req,edg_wll_LoadResult *result)
 {
        int                                     fd,
                                                reject_fd = -1,
index 0931a6d..434545c 100644 (file)
@@ -223,7 +223,7 @@ int edg_wll_PurgeServer(edg_wll_Context ctx,const edg_wll_PurgeRequest *request)
                };
                edg_wll_DumpResult      res;
 
-               if (edg_wll_DumpEvents(ctx,&req,&res)) 
+               if (edg_wll_DumpEventsServer(ctx,&req,&res)) 
                {
                        if ( request->flags & EDG_WLL_PURGE_SERVER_DUMP )
                                unlink(tmpfname);