Przeglądaj źródła

core: extend onsend structure to include runtime mode and reply code

- runtime mode to be set to local or network traffic on specific cases
Daniel-Constantin Mierla 5 lat temu
rodzic
commit
b49b56614d
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/core/onsend.h

+ 2 - 0
src/core/onsend.h

@@ -42,6 +42,8 @@ typedef struct onsend_info{
 	char* buf;                      /* outgoing buffer */
 	int len;                        /* outgoing buffer len */
 	sip_msg_t *msg;                 /* original sip msg struct */
+	int rmode;                      /* runtime execution mode */
+	int rplcode;                    /* reply code */
 } onsend_info_t;
 
 extern onsend_info_t* p_onsend;