summaryrefslogtreecommitdiff
path: root/menuselect/menuselect_stub.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-07-17 18:42:43 +0000
committerMatthew Jordan <mjordan@digium.com>2014-07-17 18:42:43 +0000
commitc7d3570248cfee32fb35fdf9d683ccb23e8da10b (patch)
tree792b25aea89fbbebf8eee3914037448729760cc1 /menuselect/menuselect_stub.c
parentcd6c7744568e07124bd2cbf01d57eb0e15c82013 (diff)
menuselect: Add menuselect to Asterisk trunk (Patch 1)
This is the first patch that adds menuselect to Asterisk trunk, and removes the svn:externals property. This is being done for two reasons: (1) The removal of external repositories eases a future migration to git (2) Asterisk is now the only thing that uses menuselect; as a result, there's little need to keep it in an external repository Subsequent patches will remove the mxml dependency from menuselect and tidy up the build system. ASTERISK-20703 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'menuselect/menuselect_stub.c')
-rw-r--r--menuselect/menuselect_stub.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/menuselect/menuselect_stub.c b/menuselect/menuselect_stub.c
new file mode 100644
index 000000000..8d91c44da
--- /dev/null
+++ b/menuselect/menuselect_stub.c
@@ -0,0 +1,39 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2005 - 2006, Russell Bryant
+ *
+ * Russell Bryant <russell@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
+ *
+ * \author Russell Bryant <russell@digium.com>
+ *
+ * \brief Menu stub
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "menuselect.h"
+
+int run_menu(void)
+{
+ fprintf(stderr, "**************************************************\n");
+ fprintf(stderr, "*** Install ncurses to use the menu interface! ***\n");
+ fprintf(stderr, "**************************************************\n");
+
+ return -1;
+}