summaryrefslogtreecommitdiff
path: root/apps/include/netutils
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include/netutils')
-rw-r--r--apps/include/netutils/discover.h14
1 files changed, 13 insertions, 1 deletions
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 <stdint.h>
+
/****************************************************************************
* 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 */