Progress of the management webservice

This commit is contained in:
vemax78
2013-07-25 22:19:00 +02:00
parent 47e4cd14d8
commit 996a9e0f36
3 changed files with 217 additions and 26 deletions

View File

@ -1,6 +1,5 @@
#include "ac.h"
#include "ac_soap.h"
#include "ac_backend.h"
#include "capwap_dtls.h"
#include <libconfig.h>
@ -752,19 +751,11 @@ int main(int argc, char** argv) {
/* Complete configuration AC */
result = ac_configure();
if (result == CAPWAP_SUCCESSFUL) {
/* Enable Backend Management */
if (ac_backend_start()) {
/* Running AC */
result = ac_execute();
/* Running AC */
result = ac_execute();
/* Disable Backend Management */
ac_backend_stop();
/* Close connection */
ac_close();
} else {
capwap_logging_error("Unable start backend management");
}
/* Close connection */
ac_close();
}
}