summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-03-11 17:24:29 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-03-11 17:24:29 -0500
commit4ef5b58230f2c1298aea29de54b714f12fcc6bd5 (patch)
treee156438e6a4fcf9adadcabc3166e4e4c0c86392b
parentffdc5c63985c8749eb26a9f5d66b2d796a0623d7 (diff)
parentadd03e207c844cfe4849da997e717a1fbe5c312a (diff)
Merge "app_osplookup: Move header defines into the app."
-rw-r--r--apps/app_osplookup.c6
-rw-r--r--include/asterisk/astosp.h31
2 files changed, 5 insertions, 32 deletions
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index c42e1873e..78f573a6c 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -50,7 +50,6 @@
#include "asterisk/module.h"
#include "asterisk/pbx.h"
#include "asterisk/cli.h"
-#include "asterisk/astosp.h"
/*** DOCUMENTATION
<application name="OSPAuth" language="en_US">
@@ -436,6 +435,11 @@
</application>
***/
+/* OSP Return statuses */
+#define AST_OSP_SUCCESS ((char*)"SUCCESS") /* Return status, success */
+#define AST_OSP_FAILED ((char*)"FAILED") /* Return status, failed */
+#define AST_OSP_ERROR ((char*)"ERROR") /* Return status, error */
+
/* OSP Buffer Sizes */
#define OSP_SIZE_INTSTR ((unsigned int)16) /* OSP signed/unsigned int string buffer size */
#define OSP_SIZE_NORSTR ((unsigned int)256) /* OSP normal string buffer size */
diff --git a/include/asterisk/astosp.h b/include/asterisk/astosp.h
deleted file mode 100644
index 4faa2b4e7..000000000
--- a/include/asterisk/astosp.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Asterisk -- An open source telephony toolkit.
- *
- * Copyright (C) 1999 - 2005, Digium, Inc.
- *
- * Mark Spencer <markster@digium.com>
- *
- * See http://www.asterisk.org for more information about
- * the Asterisk project. Please do not directly contact
- * any of the maintainers of this project for assistance;
- * the project provides a web site, mailing lists and IRC
- * channels for your use.
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License Version 2. See the LICENSE file
- * at the top of the source tree.
- */
-
-/*!
- * \file
- * \brief Open Settlement Protocol (OSP)
- */
-
-#ifndef _ASTERISK_OSP_H
-#define _ASTERISK_OSP_H
-
-#define AST_OSP_SUCCESS ((char*)"SUCCESS") /* Return status, success */
-#define AST_OSP_FAILED ((char*)"FAILED") /* Return status, failed */
-#define AST_OSP_ERROR ((char*)"ERROR") /* Return status, error */
-
-#endif /* _ASTERISK_OSP_H */