Work on bug #1192: block=1, session_watch problems. The http_channel
[pazpar2-moved-to-github.git] / src / client.h
index f01e980..f9d5b64 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: client.h,v 1.2 2007-06-15 06:45:39 adam Exp $
+/* $Id: client.h,v 1.3 2007-06-15 19:35:17 adam Exp $
    Copyright (c) 2006-2007, Index Data.
 
 This file is part of Pazpar2.
@@ -43,12 +43,13 @@ enum client_state
     Client_Stopped
 };
 
-int client_show_raw(struct client *cl, int position,
-                    const char *syntax, const char *esn,
-                    void *data,
-                    void (*error_handler)(void *data, const char *addinfo),
-                    void (*record_handler)(void *data, const char *buf,
-                                           size_t sz));
+int client_show_raw_begin(struct client *cl, int position,
+                          const char *syntax, const char *esn,
+                          void *data,
+                          void (*error_handler)(void *data, const char *addinfo),
+                          void (*record_handler)(void *data, const char *buf,
+                                                 size_t sz));
+void client_show_raw_reset(struct client *cl);
 
 const char *client_get_state_str(struct client *cl);
 enum client_state client_get_state(struct client *cl);