Browse code

- slightly change function prototypes

Jan Janak authored on 15/12/2005 23:16:26
Showing 1 changed files
... ...
@@ -40,13 +40,13 @@ enum rpc_flags {
40 40
 	
41 41
 
42 42
 /* Send the result to the caller */
43
-typedef int (*rpc_send_f)(void* ctx);                              /* Send the reply to the client */
44
-typedef void (*rpc_fault_f)(void* ctx, int code, char* reason);          /* Signal a failure to the client */
45
-typedef int (*rpc_add_f)(void* ctx, char* fmt, ...);                     /* Add a new piece of data to the result */
46
-typedef int (*rpc_scan_f)(void* ctx, char* fmt, ...);                    /* Retrieve request parameters */
47
-typedef int (*rpc_printf_f)(void* ctx, char* fmt, ...);                  /* Add printf-like formated data to the result set */
48
-typedef int (*rpc_struct_add_f)(int handle, char* fmt, ...);  /* Create a new structure */
49
-typedef int (*rpc_struct_scan_f)(int handle, char* fmt, ...); /* Scan attributes of a structure */
43
+typedef int (*rpc_send_f)(void* ctx);                           /* Send the reply to the client */
44
+typedef void (*rpc_fault_f)(void* ctx, int code, char* reason); /* Signal a failure to the client */
45
+typedef int (*rpc_add_f)(void* ctx, char* fmt, ...);            /* Add a new piece of data to the result */
46
+typedef int (*rpc_scan_f)(void* ctx, char* fmt, ...);           /* Retrieve request parameters */
47
+typedef int (*rpc_printf_f)(void* ctx, char* fmt, ...);         /* Add printf-like formated data to the result set */
48
+typedef int (*rpc_struct_add_f)(void* ctx, char* fmt, ...);     /* Create a new structure */
49
+typedef int (*rpc_struct_scan_f)(void* ctx, char* fmt, ...);    /* Scan attributes of a structure */
50 50
 
51 51
 /*
52 52
  * RPC context, this is what RPC functions get as a parameter and use