diff options
author | daniel <danieruru@gmail.com> | 2013-01-11 00:28:12 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-11 00:28:12 +0900 |
commit | 42b2eeebf00d31a1c9c2d62d1aec84b44cf7d258 (patch) | |
tree | 1f3d8279cb32060833e32171615d29d0f79c6063 | |
parent | 2d39eb19f4f9a3eeb738bc755f2e17fc7520450a (diff) |
start feeding the stuff from write into the parser
-rw-r--r-- | gpib.c | 2 | ||||
-rw-r--r-- | gpib.h | 2 | ||||
-rw-r--r-- | vxi11_server.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -779,7 +779,7 @@ static void TNT_Holdoff_off() } -void GPIB_and_VXI_start_query_response(gpointer *ignore_this, char *in_string) +void GPIB_and_VXI_start_query_response(gpointer ignore_this, gchar *in_string) { g_assert (ignore_this == NULL); g_assert (in_string != NULL); @@ -12,7 +12,7 @@ int GPIB_check_for_device_clear_signal(void); int GPIB_check_for_device_clear_signal(void); int GPIB_check_for_messages(char *gpib_buf); int GPIB_handle_new_input(char *gpib_buf); -void GPIB_and_VXI_start_query_response(gpointer *ignore_this, char *in_string); +void GPIB_and_VXI_start_query_response(gpointer ignore_this, gchar *in_string); void GPIB_finish_query_response(); void GPIB_check_remote_status (int *is_remote, int *is_lockout); void GPIB_go_to_local (); diff --git a/vxi11_server.c b/vxi11_server.c index 4c3a837..02eb966 100644 --- a/vxi11_server.c +++ b/vxi11_server.c @@ -138,7 +138,7 @@ device_write_1_svc(Device_WriteParms *argp, struct svc_req *rqstp) { #ifdef DEBUG printf("got %s on link %d\n", argp->data.data_val, argp->lid); #endif - Parser_main(argp->data, 0, GPIB_and_VXI_start_query_response, NULL); + Parser_main(argp->data.data_val, 0, GPIB_and_VXI_start_query_response, NULL); result.size = argp->data.data_len; result.error = 0; } |