mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-01 17:42:02 +01:00
Ticket refs #9572 : SSL problem
This commit is contained in:
parent
fa9b081fd9
commit
198dce8288
4 changed files with 8 additions and 2 deletions
|
|
@ -105,7 +105,6 @@ icwmpd_LDADD = \
|
|||
icwmpd_CFLAGS+=-DCWMP_VERSION=\"$(CWMP_VERSION)\"
|
||||
icwmpd_LDFLAGS+=-DCWMP_VERSION=\"$(CWMP_VERSION)\"
|
||||
|
||||
icwmpd_LDFLAGS+=$(STAGING_DIR)/usr/lib/libstrophe.so
|
||||
CWMP_BKP_FILE=/etc/icwmpd/.icwmpd_backup_session.xml
|
||||
icwmpd_CFLAGS+=-DCWMP_BKP_FILE=\"$(CWMP_BKP_FILE)\"
|
||||
icwmpd_CFLAGS+=-I../inc
|
||||
|
|
@ -114,4 +113,3 @@ icwmpd_CFLAGS+=-I../dm/dmtree/
|
|||
icwmpd_CFLAGS+=-I../dm/dmtree/common
|
||||
icwmpd_CFLAGS+=-I../dm/dmtree/tr098
|
||||
icwmpd_CFLAGS+=-I../dm/dmtree/tr181
|
||||
icwmpd_CFLAGS+="-I$(STAGING_DIR)/usr/include/strophe/"
|
||||
|
|
|
|||
2
cwmp.c
2
cwmp.c
|
|
@ -25,7 +25,9 @@
|
|||
#include "ubus.h"
|
||||
#include "ipping.h"
|
||||
#include "xmpp_cr.h"
|
||||
#ifdef XMPP_ENABLE
|
||||
#include <strophe.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
struct cwmp cwmp_main = {0};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,9 @@
|
|||
#include <pthread.h>
|
||||
#include <microxml.h>
|
||||
#include <libubox/list.h>
|
||||
#ifdef XMPP_ENABLE
|
||||
#include <strophe.h>
|
||||
#endif
|
||||
|
||||
#define MAX_EVENTS 64
|
||||
#define MAX_INT32 2147483646
|
||||
|
|
@ -273,8 +275,10 @@ typedef struct cwmp {
|
|||
struct session_status session_status;
|
||||
unsigned int cwmp_id;
|
||||
int cr_socket_desc;
|
||||
#ifdef XMPP_ENABLE
|
||||
xmpp_ctx_t *xmpp_ctx;
|
||||
xmpp_conn_t *xmpp_conn;
|
||||
#endif
|
||||
} cwmp;
|
||||
|
||||
typedef struct session {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef XMPP_ENABLE
|
||||
#include <strophe.h>
|
||||
#endif
|
||||
|
||||
#define DEFAULT_XMPP_RECONNECTION_RETRY 5
|
||||
void cwmp_xmpp_connect_client();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue