From d1b1536d66431eeab17db17c6066c8da59410e1c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 May 2013 12:47:07 -0600 Subject: Add runtime configuration for UDP discovery utility. From Max Holtzberg --- apps/include/netutils/discover.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'apps/include/netutils') diff --git a/apps/include/netutils/discover.h b/apps/include/netutils/discover.h index c2226918d..df792b8ca 100644 --- a/apps/include/netutils/discover.h +++ b/apps/include/netutils/discover.h @@ -36,16 +36,28 @@ #ifndef __APPS_INCLUDE_NETUTILS_DISCOVER_H #define __APPS_INCLUDE_NETUTILS_DISCOVER_H +#include + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ +struct discover_info_s +{ + uint8_t devclass; /* Device class, 0xff for all devices */ + const char *description; +}; + /**************************************************************************** * Name: discover_start * * Description: * Start the discover daemon. * + * Input Paramters: + * + * info Discover information, if NULL mconf defaults will be used. + * * Return: * The process ID (pid) of the new discover daemon is returned on * success; A negated errno is returned if the daemon was not successfully @@ -53,6 +65,6 @@ * ****************************************************************************/ -int discover_start(void); +int discover_start(struct discover_info_s *info); #endif /* __APPS_INCLUDE_NETUTILS_DISCOVER_H */ -- cgit v1.2.3