ack
On Tue, Jun 21, 2011 at 3:47 AM, Russell Bryant
<russell(a)russellbryant.net> wrote:
Move the doxygen comment block for this API call to the header file.
Documentation for other public API calls are in the header files. This
is a handy place to put the docs as the documentation will be in the
header files that get installed.
Signed-off-by: Russell Bryant <russell(a)russellbryant.net>
---
src/include/matahari/dnssrv.h | 12 +++++++++++-
src/lib/dnssrv_linux.c | 10 ----------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/include/matahari/dnssrv.h b/src/include/matahari/dnssrv.h
index 0ce0acb..55a66b3 100644
--- a/src/include/matahari/dnssrv.h
+++ b/src/include/matahari/dnssrv.h
@@ -27,6 +27,16 @@
#include <sys/types.h>
-extern int mh_srv_lookup(const char *query, char *target, size_t len);
+/**
+ * Domain lookup providing a Matahari broker
+ *
+ * \param[in] srv record query i.e. "_matahari._tcp.matahariproject.org
+ * \param[in] set buffer to hold domain retrieved
+ * \param[in] set buffer length
+ *
+ * \return 0 or greater for successful match
+ */
+extern int
+mh_srv_lookup(const char *query, char *target, size_t len);
#endif /* __MH_DNSSRV_H__ */
diff --git a/src/lib/dnssrv_linux.c b/src/lib/dnssrv_linux.c
index 90be3f3..cd5d101 100644
--- a/src/lib/dnssrv_linux.c
+++ b/src/lib/dnssrv_linux.c
@@ -28,16 +28,6 @@
#include "matahari/dnssrv.h"
-/**
- * Domain lookup providing a Matahari broker
- *
- * \param[in] srv record query i.e. "_matahari._tcp.matahariproject.org
- * \param[in] set buffer to hold domain retrieved
- * \param[in] set buffer length
- *
- * \return 0 or greater for successful match
- */
-
int
mh_srv_lookup(const char *query, char *target, size_t len)
{
--
1.7.5.4
_______________________________________________
Matahari mailing list
Matahari(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/matahari