X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoom-p.h;fp=zoom%2Fzoom-p.h;h=5958affeb91c8214a098a2720c25bd19d3331ed1;hb=78942f568d83ea621661bfcd2d3f25eee3d316a1;hp=1c9a1ff7dc9a3e9cbe9090b45d6113ce99690659;hpb=22af523e3a7da990757ab1edab65ac258eacefbd;p=yaz-moved-to-github.git diff --git a/zoom/zoom-p.h b/zoom/zoom-p.h index 1c9a1ff..5958aff 100644 --- a/zoom/zoom-p.h +++ b/zoom/zoom-p.h @@ -1,12 +1,14 @@ /* * Private C header for ZOOM C. - * $Id: zoom-p.h,v 1.3 2001-11-06 17:05:19 adam Exp $ + * $Id: zoom-p.h,v 1.4 2001-11-13 22:57:03 adam Exp $ */ #include #include #include #include +typedef struct Z3950_Event_p *Z3950_Event; + struct Z3950_query_p { Z_Query *query; Z_SortKeySpecList *sort_spec; @@ -39,10 +41,11 @@ struct Z3950_connection_p { char *cookie_out; char *cookie_in; int async; - int event_pending; Z3950_task tasks; Z3950_options options; Z3950_resultset resultsets; + Z3950_Event m_queue_front; + Z3950_Event m_queue_back; }; @@ -99,11 +102,18 @@ struct Z3950_task_p { Z3950_resultset resultset; #define Z3950_TASK_RETRIEVE 2 /** also resultset here */ - +#define Z3950_TASK_CONNECT 3 } u; Z3950_task next; }; +struct Z3950_Event_p { + int kind; + Z3950_Event next; + Z3950_Event prev; +}; + + #ifndef YAZ_DATE COMSTACK cs_create_host(const char *type_and_host, int blocking, void **vp); Odr_oid *yaz_str_to_z3950oid (ODR o, int oid_class, const char *str);