aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 11:16:40 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 11:16:55 +0200
commit430366a2c5ffbb0af5d7e5213f7f54c5833d7c97 (patch)
tree1b90ffbd296c30210da77b0724f178431aeb92d3 /src
parentfbea3906af1c19cfca6fa9a599905a0c7c0bd354 (diff)
osmo-pcap: Create a dummy client.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/osmo_client_main.c29
2 files changed, 37 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..2b7eb13
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,8 @@
+INCLUDES = $(all_includes) -I$(top_srcdir)/include
+AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(PCAP_CFLAGS)
+AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
+
+bin_PROGRAMS = osmo_pcap_client
+
+osmo_pcap_client_SOURCES = osmo_client_main.c
+osmo_pcap_client_LDADD = $(PCAP_LIBS)
diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c
new file mode 100644
index 0000000..4725f1a
--- /dev/null
+++ b/src/osmo_client_main.c
@@ -0,0 +1,29 @@
+/*
+ * osmo-pcap-client code
+ *
+ * (C) 2011 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2011 by On-Waves
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include <pcap.h>
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ return(0);
+}