Changeset 25:67ca08d5bc48 in freeDiameter for freeDiameter/fD.h
- Timestamp:
- Oct 26, 2009, 4:00:49 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fD.h
r24 r25 152 152 enum { 153 153 /* Dump all info about this peer in the debug log */ 154 FDEVP_DUMP_ALL = 2000154 FDEVP_DUMP_ALL = 1500 155 155 156 156 /* request to terminate this peer : disconnect, requeue all messages */ 157 157 ,FDEVP_TERMINATE 158 158 159 /* A connection object has received a message -- stored in event->data*/159 /* A connection object has received a message. */ 160 160 ,FDEVP_CNX_MSG_RECV 161 162 /* A connection object has encountered an error (disconnected). */ 163 ,FDEVP_CNX_ERROR 164 165 /* Endpoints of a connection have been changed (multihomed SCTP). */ 166 ,FDEVP_CNX_EP_CHANGE 161 167 162 168 /* A message was received in the peer */ … … 210 216 struct cnxctx * fd_cnx_cli_connect_sctp(int no_ip6, uint16_t port, struct fd_list * list); 211 217 char * fd_cnx_getid(struct cnxctx * conn); 212 int fd_cnx_start_clear(struct cnxctx * conn );218 int fd_cnx_start_clear(struct cnxctx * conn, int loop); 213 219 int fd_cnx_handshake(struct cnxctx * conn, int mode, char * priority); 214 220 int fd_cnx_getcred(struct cnxctx * conn, const gnutls_datum_t **cert_list, unsigned int *cert_list_size); … … 220 226 void fd_cnx_destroy(struct cnxctx * conn); 221 227 222 /* TCP */223 int fd_tcp_create_bind_server( int * sock, sSA * sa, socklen_t salen );224 int fd_tcp_listen( int sock );225 int fd_tcp_client( int *sock, sSA * sa, socklen_t salen );226 int fd_tcp_get_local_ep(int sock, sSS * ss, socklen_t *sl);227 int fd_tcp_get_remote_ep(int sock, sSS * ss, socklen_t *sl);228 229 /* SCTP */230 #ifndef DISABLE_SCTP231 int fd_sctp_create_bind_server( int * sock, struct fd_list * list, uint16_t port );232 int fd_sctp_listen( int sock );233 int fd_sctp_client( int *sock, int no_ip6, uint16_t port, struct fd_list * list );234 int fd_sctp_get_local_ep(int sock, struct fd_list * list);235 int fd_sctp_get_remote_ep(int sock, struct fd_list * list);236 int fd_sctp_get_str_info( int sock, int *in, int *out, sSS *primary );237 238 #endif /* DISABLE_SCTP */239 240 241 228 242 229 #endif /* _FD_H */
Note: See TracChangeset
for help on using the changeset viewer.