/* Run interactively or as daemon (background process). */
#define UNIX_FLAG_INTERACTIVE (1 << 0)
#define UNIX_FLAG_NODAEMON (1 << 1)
+#define UNIX_FLAG_NOSYSLOG (1 << 2)
+
/* CLI listen socket. */
clib_socket_t cli_listen_socket;
/* Store the original state of stdin when it's a tty */
struct termios tio_stdin;
int tio_isset;
+
+ u32 poll_sleep_usec;
+
} unix_main_t;
/* Global main structure. */
/* Main function for Unix VLIB. */
int vlib_unix_main (int argc, char *argv[]);
-clib_error_t *unix_physmem_init (vlib_main_t * vm);
-
/* Set prompt for CLI. */
void vlib_unix_cli_set_prompt (char *prompt);