summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-09-27 10:11:35 +0200
committerLinus Nordberg <linus@nordu.net>2011-09-27 10:11:35 +0200
commitbab2a00def115132cf3bb14d4e8826c5c2460b60 (patch)
treede59f37aeda922816d9fd0a536153d7f94cba555 /main.c
parent021300fb41cbdc1280c73e61cbe1c7f861e1dd9c (diff)
Prepare for building tests.
Move main() out of radsecproxy.c. Build a static library and link a main.c with it.
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..c3befc4
--- /dev/null
+++ b/main.c
@@ -0,0 +1,7 @@
+int radsecproxy_main(int argc, char **argv);
+
+int main(int argc, char **argv)
+{
+ return radsecproxy_main(argc, argv);
+}
+