Changeset 229:965f5971dc23 in freeDiameter for freeDiameter/fD.h
- Timestamp:
- Mar 2, 2010, 3:55:26 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fD.h
r228 r229 240 240 const char * fd_pev_str(int event); 241 241 242 /* The data structure for FDEVP_CNX_INCOMING event s*/242 /* The data structure for FDEVP_CNX_INCOMING event */ 243 243 struct cnx_incoming { 244 244 struct msg * cer; /* the CER message received on this connection */ … … 274 274 275 275 /* Peer out */ 276 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer );276 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer, uint32_t flags); 277 277 int fd_out_start(struct fd_peer * peer); 278 278 int fd_out_stop(struct fd_peer * peer); … … 327 327 int fd_cnx_receive(struct cnxctx * conn, struct timespec * timeout, unsigned char **buf, size_t * len); 328 328 int fd_cnx_recv_setaltfifo(struct cnxctx * conn, struct fifo * alt_fifo); /* send FDEVP_CNX_MSG_RECV event to the fifo list */ 329 int fd_cnx_send(struct cnxctx * conn, unsigned char * buf, size_t len, int ordered);329 int fd_cnx_send(struct cnxctx * conn, unsigned char * buf, size_t len, uint32_t flags); 330 330 void fd_cnx_destroy(struct cnxctx * conn); 331 331 332 /* Flags for the fd_cnx_send function : */ 333 #define FD_CNX_ORDERED (1 << 0) /* All messages sent with this flag set will be delivered in the same order. No guarantee on other messages */ 334 #define FD_CNX_BROADCAST (1 << 1) /* The message is sent over all stream pairs, in case of SCTP. No effect on TCP */ 332 335 333 336 #endif /* _FD_H */
Note: See TracChangeset
for help on using the changeset viewer.