X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoom-p.h;h=2d7d95dbd0850ec72e05360862735158103ba737;hb=1274cfd835afa98442ac013e4556ad7b5c5f71a6;hp=80fa96807a1816360f66243deaf1ca8135bca061;hpb=2af1d65a7126d623ab596d831d6bc4257d75a051;p=yaz-moved-to-github.git diff --git a/zoom/zoom-p.h b/zoom/zoom-p.h index 80fa968..2d7d95d 100644 --- a/zoom/zoom-p.h +++ b/zoom/zoom-p.h @@ -1,6 +1,6 @@ /* * Private C header for ZOOM C. - * $Id: zoom-p.h,v 1.9 2002-05-17 12:48:30 adam Exp $ + * $Id: zoom-p.h,v 1.12 2002-08-20 08:19:40 adam Exp $ */ #include #include @@ -32,6 +32,7 @@ struct ZOOM_connection_p { char *addinfo; int state; int mask; + int reconnect_ok; ODR odr_in; ODR odr_out; char *buf_in; @@ -39,8 +40,11 @@ struct ZOOM_connection_p { char *buf_out; int len_out; char *proxy; + char *charset; + char *lang; char *cookie_out; char *cookie_in; + char *client_IP; int async; int support_named_resultsets; int last_event; @@ -63,7 +67,8 @@ struct ZOOM_options_p { void *callback_handle; ZOOM_options_callback callback_func; struct ZOOM_options_entry *entries; - ZOOM_options parent; + ZOOM_options parent1; + ZOOM_options parent2; }; typedef struct ZOOM_record_cache_p *ZOOM_record_cache; @@ -94,6 +99,7 @@ struct ZOOM_record_p { struct ZOOM_record_cache_p { struct ZOOM_record_p rec; char *elementSetName; + char *syntax; int pos; ZOOM_record_cache next; }; @@ -108,6 +114,15 @@ struct ZOOM_scanset_p { Z_ScanResponse *scan_response; }; +struct ZOOM_package_p { + int refcount; + ODR odr_out; + ZOOM_options options; + ZOOM_connection connection; + char *buf_out; + int len_out; +}; + struct ZOOM_task_p { int running; int which; @@ -127,6 +142,8 @@ struct ZOOM_task_p { struct { ZOOM_scanset scan; } scan; +#define ZOOM_TASK_PACKAGE 5 + ZOOM_package package; } u; ZOOM_task next; };