Displaying 1 result from an estimated 1 matches for "smallest_none".
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...erver. NOTE These are on a
per-client basis. Thus any one machine can't connect to more than
MAX_CONNECTIONS services, but any number of machines may connect at
one time. */
+
+
#define MAX_CONNECTIONS 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 o...