summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2018-03-07 02:45:24 -0500
committerCorey Farrell <git@cfware.com>2018-03-07 02:45:24 -0500
commitadd03e207c844cfe4849da997e717a1fbe5c312a (patch)
tree3ae35da568418871e754bb49c66e41fa414fcb25 /apps
parent91a8c7a28114dd4d64dd5216a7cffd0f36d35bab (diff)
app_osplookup: Move header defines into the app.
astosp.h is leftover from when logic was split between app_osplookup and res_osp. All logic was moved into app_osplookup by 109737eb1c in 2006, but astosp.h remained. This moves the remaining defines into app_osplookup and deletes astosp.h. Change-Id: I0a6c4debd7c9543b608520b1765abfa4fab7b2fd
Diffstat (limited to 'apps')
-rw-r--r--apps/app_osplookup.c6
1 files changed, 5 insertions, 1 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 */