diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Doxyfile | 17 | ||||
-rw-r--r-- | src/host.c | 13 |
3 files changed, 0 insertions, 31 deletions
@@ -1,2 +1 @@ /bin/ -/doc/ diff --git a/Doxyfile b/Doxyfile deleted file mode 100644 index ae2f70e..0000000 --- a/Doxyfile +++ /dev/null @@ -1,17 +0,0 @@ -PROJECT_NAME = host - -INPUT = src -OUTPUT_DIRECTORY = doc - -OPTIMIZE_OUTPUT_FOR_C = YES - -EXTRACT_ALL = YES -EXTRACT_STATIC = YES -TAB_SIZE = 4 - -GENERATE_HTML = YES -GENERATE_LATEX = NO -GENERATE_MAN = YES -GENERATE_RTF = NO -GENERATE_XML = NO -GENERATE_QHP = NO @@ -12,22 +12,9 @@ #include <sys/socket.h> #include <netdb.h> -/** - * \brief Print some usage information - */ - #define PRINT_USAGE \ fprintf(stderr, "Usage: %s [-46r] <hostname>\n", argv[0]) -/** - * \brief convert addrinfo to simple IP address - * - * \param address addrinfo struct containing the IP - * \param ip string for the resulting IP - * \param length length of ip - * \return 0 on failure, 1 on success - */ - static inline int addr_to_ip(const struct addrinfo *address, char *ip, int length) { void *ptr; switch (address->ai_family) { |