Displaying 1 result from an estimated 1 matches for "smallest_released".
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...ONNECTIONS 128
-static connection_struct *Connections;
+#define BIGGEST_NONE -1
+#define SMALLEST_NONE -1
+#define SMALLEST_UNKNOWN -2
+
+typedef struct {
+ connection_struct *Connections[MAX_CONNECTIONS];
+ int num_open;
+ int biggest_in_use;
+ int smallest_released;
+} connection_total_handler;
+
+static connection_total_handler cth;
-/* number of open connections */
-static struct bitmap *bmap;
-static int num_open;
/****************************************************************************
init the conn structures
**********************************...