Mercurial > hg > th-libs
changeset 653:3c9205d52376
Doxygen fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 13:36:15 +0200 |
parents | 38a9302962f7 |
children | 1092eb33bd59 |
files | th_file.h th_ioctx.h th_network.h |
diffstat | 3 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/th_file.h Sat Jan 25 13:18:38 2020 +0200 +++ b/th_file.h Sat Jan 25 13:36:15 2020 +0200 @@ -1,12 +1,12 @@ /* - * File, directory etc helper functions + * File, directory, path etc. related helper functions * Programmed and designed by Matti 'ccr' Hamalainen * (C) Copyright 2016-2020 Tecnic Software productions (TNSP) * * Please read file 'COPYING' for information on license and distribution. */ /// @file -/// @brief File, path, etc. related helper functions +/// @brief File, directory, path etc. related helper functions #ifndef TH_FILE_H #define TH_FILE_H @@ -45,7 +45,7 @@ } th_stat_data; -char * th_get_home_dir(); +char * th_get_home_dir(void); char * th_get_config_dir(const char *name); BOOL th_stat_path(const char *path, th_stat_data *data);
--- a/th_ioctx.h Sat Jan 25 13:18:38 2020 +0200 +++ b/th_ioctx.h Sat Jan 25 13:36:15 2020 +0200 @@ -5,6 +5,8 @@ * * Please read file 'COPYING' for information on license and distribution. */ +/// @file +/// @brief Simple I/O abstraction and context handling layer #ifndef TH_IOCTX_H #define TH_IOCTX_H
--- a/th_network.h Sat Jan 25 13:18:38 2020 +0200 +++ b/th_network.h Sat Jan 25 13:36:15 2020 +0200 @@ -86,7 +86,7 @@ }; -typedef struct _th_base_conn_t +typedef struct { // Target host data char *host; @@ -105,7 +105,7 @@ } th_base_conn_t; -typedef struct _th_conn_t +typedef struct th_conn_t { // Connection th_base_conn_t base; @@ -124,8 +124,8 @@ int status; // Error handling and status message functors - void (*errfunc)(struct _th_conn_t *conn, int err, const char *msg); - void (*msgfunc)(struct _th_conn_t *conn, int loglevel, const char *msg); + void (*errfunc)(struct th_conn_t *conn, int err, const char *msg); + void (*msgfunc)(struct th_conn_t *conn, int loglevel, const char *msg); void *node; } th_conn_t;