Debian Codegraph @

include/inline/connection.h

raw
1 #ifndef INLINE_CONNECTION_H
2 #define INLINE_CONNECTION_H
3
4 /*
5 * connection_count()
6 *
7 * inputs:
8 * none
9 *
10 * outputs:
11 * number of connections tracked
12 *
13 * side effects:
14 * none
15 */
16 static inline int connection_count(void)
17 {
18 return MOWGLI_LIST_LENGTH(&connection_list);
19 }
20
21 #endif