Changeset 1085:7d7266115a34 in freeDiameter for libfdcore/fdcore-internal.h
- Timestamp:
- May 3, 2013, 8:20:56 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/fdcore-internal.h
r1016 r1085 86 86 int fd_conf_init(); 87 87 int fd_conf_deinit(); 88 void fd_conf_dump();89 88 int fd_conf_parse(); 90 89 int fddparse(struct fd_config * conf); /* yacc generated */ … … 95 94 int fd_ext_add( char * filename, char * conffile ); 96 95 int fd_ext_load(); 97 void fd_ext_dump(void);98 96 int fd_ext_term(void); 99 97 … … 218 216 /* Events codespace for struct fd_peer->p_events */ 219 217 enum { 220 /* Dump all info about this peer in the debug log */221 FDEVP_DUMP_ALL = 1500222 223 218 /* request to terminate this peer : disconnect, requeue all messages */ 224 ,FDEVP_TERMINATE219 FDEVP_TERMINATE = 1500 225 220 226 221 /* A connection object has received a message. (data contains the buffer + struct timespec piggytailed -- unaligned) */ … … 250 245 }; 251 246 #define CHECK_PEVENT( _e ) \ 252 (((int)(_e) >= FDEVP_ DUMP_ALL) && ((int)(_e) <= FDEVP_PSM_TIMEOUT))247 (((int)(_e) >= FDEVP_TERMINATE) && ((int)(_e) <= FDEVP_PSM_TIMEOUT)) 253 248 /* The following macro is actually called in p_psm.c -- another solution would be to declare it static inline */ 254 249 #define DECLARE_PEV_STR() \ … … 256 251 { \ 257 252 switch (event) { \ 258 case_str(FDEVP_DUMP_ALL); \259 253 case_str(FDEVP_TERMINATE); \ 260 254 case_str(FDEVP_CNX_MSG_RECV); \ … … 281 275 /* Functions */ 282 276 int fd_peer_fini(); 283 void fd_peer_dump_list(int details);284 void fd_peer_dump(struct fd_peer * peer, int details);285 277 int fd_peer_alloc(struct fd_peer ** ptr); 286 278 int fd_peer_free(struct fd_peer ** ptr); … … 339 331 340 332 /* Server sockets */ 341 void fd_servers_dump();342 333 int fd_servers_start(); 343 334 int fd_servers_stop();
Note: See TracChangeset
for help on using the changeset viewer.