wget: code shrink by splitting main() into easier-to-optimize functions
[oweals/busybox.git] / networking / isrv.h
index 780636d1770a2d9fd0dd2407be84803f2e8d2471..f20714df8d14d4ac864164c832298f7593d62b1a 100644 (file)
@@ -1,3 +1,15 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * Generic non-forking server infrastructure.
+ * Intended to make writing telnetd-type servers easier.
+ *
+ * Copyright (C) 2007 Denys Vlasenko
+ *
+ * Licensed under GPL version 2, see file LICENSE in this tarball for details.
+ */
+
+PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
+
 /* opaque structure */
 struct isrv_state_t;
 typedef struct isrv_state_t isrv_state_t;
@@ -21,3 +33,5 @@ void isrv_run(
        int timeout,
        int linger_timeout
 );
+
+POP_SAVED_FUNCTION_VISIBILITY