/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data.
+ * Copyright (C) 1995-2010 Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
typedef struct request
{
- int len_refid; /* length of referenceid */
- char *refid; /* referenceid */
request_state state;
Z_GDU *gdu_request; /* Current request */
*/
typedef enum
{
- ASSOC_NEW, /* not initialized yet */
- ASSOC_UP, /* normal operation */
+ ASSOC_NEW, /* not initialized yet or HTTP session */
+ ASSOC_UP, /* Z39.50 session is UP */
ASSOC_DEAD /* dead. Close if input arrives */
} association_state;
int maximumRecordSize;
int version; /* highest version-bit set (2 or 3) */
- unsigned cs_get_mask;
- unsigned cs_put_mask;
- unsigned cs_accept_mask;
+ int cs_get_mask;
+ int cs_put_mask;
+ int cs_accept_mask;
struct bend_initrequest *init;
statserv_options_block *last_control;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab