aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/astman.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/astman.c b/utils/astman.c
index 427b581b2..f072dcd57 100644
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -38,7 +38,6 @@
#include <stdlib.h>
#include "asterisk/md5.h"
-#include "asterisk/manager.h"
#include "asterisk/linkedlists.h"
#undef gethostbyname
@@ -54,6 +53,13 @@
*/
#define _NEWT_CAST (void *)
+#define DEFAULT_MANAGER_PORT 5038
+
+struct message {
+ unsigned int hdrcount;
+ char headers[MAX_HEADERS][MAX_LEN];
+};
+
static struct ast_mansession {
struct sockaddr_in sin;
int fd;