Navigation


Changeset 25:67ca08d5bc48 in freeDiameter for freeDiameter/fD.h


Ignore:
Timestamp:
Oct 26, 2009, 4:00:49 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Completed connection context files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/fD.h

    r24 r25  
    152152enum {
    153153        /* Dump all info about this peer in the debug log */
    154          FDEVP_DUMP_ALL = 2000
     154         FDEVP_DUMP_ALL = 1500
    155155       
    156156        /* request to terminate this peer : disconnect, requeue all messages */
    157157        ,FDEVP_TERMINATE
    158158       
    159         /* A connection object has received a message -- stored in event->data */
     159        /* A connection object has received a message. */
    160160        ,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
    161167       
    162168        /* A message was received in the peer */
     
    210216struct cnxctx * fd_cnx_cli_connect_sctp(int no_ip6, uint16_t port, struct fd_list * list);
    211217char * fd_cnx_getid(struct cnxctx * conn);
    212 int fd_cnx_start_clear(struct cnxctx * conn);
     218int fd_cnx_start_clear(struct cnxctx * conn, int loop);
    213219int fd_cnx_handshake(struct cnxctx * conn, int mode, char * priority);
    214220int fd_cnx_getcred(struct cnxctx * conn, const gnutls_datum_t **cert_list, unsigned int *cert_list_size);
     
    220226void fd_cnx_destroy(struct cnxctx * conn);
    221227
    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_SCTP
    231 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 
    241228
    242229#endif /* _FD_H */
Note: See TracChangeset for help on using the changeset viewer.