From: Bernd Petrovitsch Date: Sun, 31 Aug 2008 21:02:42 +0000 (+0200) Subject: - moved the declarations of ipc_init() and shutdown_ipc() from src/defs.h X-Git-Tag: FIX3~498^2^2~1 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=ce32c5a000d3d4ef82c445fcad48787f005c3d4f - moved the declarations of ipc_init() and shutdown_ipc() from src/defs.h to src/ipc_frontend.h where they better belong - removed the declaration of ipc_output() as there is no function anywhere --- diff --git a/src/defs.h b/src/defs.h index 7eb4964a..07d33f26 100644 --- a/src/defs.h +++ b/src/defs.h @@ -148,24 +148,4 @@ extern olsr_bool olsr_win32_end_request; extern olsr_bool olsr_win32_end_flag; #endif -/* - *IPC functions - *These are moved to a plugin soon - * soon... duh! - */ - -int -ipc_init(void); - -#if 0 -int -ipc_input(int); -#endif - -int -shutdown_ipc(void); - -int -ipc_output(struct olsr *); - #endif diff --git a/src/ipc_frontend.h b/src/ipc_frontend.h index 5b9378b4..5af4cf03 100644 --- a/src/ipc_frontend.h +++ b/src/ipc_frontend.h @@ -96,6 +96,23 @@ struct ipc_net_msg union olsr_ip_addr main_addr; }; +/* + *IPC functions + *These are moved to a plugin soon + * soon... duh! + */ + +int +ipc_init(void); + +#if 0 +int +ipc_input(int); +#endif + +int +shutdown_ipc(void); + olsr_bool ipc_check_allowed_ip(const union olsr_ip_addr *);