X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fsession.h;h=a5ac134fa40a79fa38466744d27da60c4a048dfb;hb=e5e0b0c0af410a18ee3f57bdcfdc5e68265f0343;hp=cd7c2a3b227fbdedf49b9b1febee24e232b08ae4;hpb=0a3a8b6400167c2dfd6e6b5f135f6ad4783e554c;p=yaz-moved-to-github.git diff --git a/server/session.h b/server/session.h index cd7c2a3..a5ac134 100644 --- a/server/session.h +++ b/server/session.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: session.h,v $ - * Revision 1.1 1995-03-14 10:28:02 quinn + * Revision 1.3 1995-03-30 09:09:27 quinn + * Added state-handle and some support for asynchronous activities. + * + * Revision 1.2 1995/03/27 08:34:29 quinn + * Added dynamic server functionality. + * Released bindings to session.c (is now redundant) + * + * Revision 1.1 1995/03/14 10:28:02 quinn * More work on demo server. * * @@ -15,6 +22,7 @@ #include #include +#include typedef struct association { @@ -29,6 +37,8 @@ typedef struct association int input_buffer_len; int input_apdu_len; int state; + oid_proto proto; + void *backend; #define ASSOC_UNINIT 0 #define ASSOC_IDLE 1 @@ -38,6 +48,7 @@ typedef struct association } association; association *create_association(IOCHAN channel, COMSTACK link); +void destroy_association(association *h); void ir_session(IOCHAN h, int event); #endif