Added conn_is_error() and request_handler has returnvalue now.
FossilOrigin-Name: 672c69cd9d466e64cc288532b5cc37f1ff0de4d28a51132a44dc212bc66faae7
This commit is contained in:
parent
902f5caab2
commit
a3064a77e3
@ -114,7 +114,7 @@ struct conn{
|
|||||||
int strict_capwap;
|
int strict_capwap;
|
||||||
|
|
||||||
|
|
||||||
void (*request_handler) (void*);
|
int (*request_handler) (void*);
|
||||||
void * request_handler_param;
|
void * request_handler_param;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ void conn_q_add_packet(struct conn * conn,uint8_t *packet,int len);
|
|||||||
|
|
||||||
extern void conn_prepare_request(struct conn * conn, int type);
|
extern void conn_prepare_request(struct conn * conn, int type);
|
||||||
|
|
||||||
|
#define conn_is_error(conn) (conn->dtls_error)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user