Introduce type for BER BOOLEAN/INTEGER .
[yaz-moved-to-github.git] / src / session.h
index 2ed9bda..f7c81ce 100644 (file)
@@ -122,8 +122,8 @@ typedef struct association
     association_state state;
 
     /* session parameters */
-    int preferredMessageSize;
-    int maximumRecordSize;
+    Odr_int preferredMessageSize;
+    Odr_int maximumRecordSize;
     int version;                  /* highest version-bit set (2 or 3) */
 
     unsigned cs_get_mask;
@@ -160,6 +160,7 @@ int ir_read(IOCHAN h, int event);
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab