[doc] Somewhat improve Doxygen-generated man pages
Fix some problems in the Doxygen-generated man pages (C libraries), the more noticeable being removing the full path of the files from the header and synopsis.
This commit is contained in:
parent
b126cdc98d
commit
efaf4da6ed
|
@ -121,7 +121,7 @@ INLINE_INHERITED_MEMB = NO
|
|||
# path before files name in the file list and in the header files. If set
|
||||
# to NO the shortest path that makes the file name unique will be used.
|
||||
|
||||
FULL_PATH_NAMES = YES
|
||||
FULL_PATH_NAMES = NO
|
||||
|
||||
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
|
||||
# can be used to strip a user-defined part of the path. Stripping is
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
/**
|
||||
* Opens a transmission UDP socket to a server in a simplified way.
|
||||
* This function uses `owl_create_udp_trx_socket()` (from libowlps)
|
||||
* This function uses owl_create_udp_trx_socket() (from libowlps)
|
||||
* as a backend, and allows to select a particular network interface.
|
||||
*
|
||||
* @param[in] dest_ip IP address of the remote server.
|
||||
|
@ -98,7 +98,7 @@ void owl_use_iface(const int sockfd, const char *const iface)
|
|||
* @param[in] sockfd The file descriptor of the socket to use for the
|
||||
* transmission.
|
||||
* @param[in] server The server's information (as generated by
|
||||
* `owl_create_trx_socket()`, for example).
|
||||
* owl_create_trx_socket(), for example).
|
||||
* @param[in] packet The buffer to send through the socket.
|
||||
* @param[in] packet_size The buffer's size.
|
||||
* @param[in] nb_pkt Number of packets to transmit.
|
||||
|
@ -145,7 +145,7 @@ void owl_send_request(const int sockfd,
|
|||
|
||||
/**
|
||||
* Transmits a single packet of a request.
|
||||
* See the documentation of the `owl_send_request()` function for an
|
||||
* See the documentation of the owl_send_request() function for an
|
||||
* explanation on the parameters.
|
||||
* When `verbose` if `true`, a dot will be printed on the standard output
|
||||
* and the standard output will be flushed.
|
||||
|
|
|
@ -42,6 +42,7 @@ void owl_send_request(const int sockfd,
|
|||
const uint_fast16_t nb_pkt,
|
||||
const uint_fast32_t delay,
|
||||
const bool verbose) ;
|
||||
/// Transmits a packet
|
||||
void owl_send_packet(const int sockfd,
|
||||
const struct sockaddr_in *const server,
|
||||
const void *const packet,
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
* deleted using `free()`.
|
||||
*
|
||||
* In case of error, a message is printed, except if `owl_run` (from
|
||||
* `owlps.h`) is `false`, and `NULL` is returned.
|
||||
* owlps.h) is `false`, and `NULL` is returned.
|
||||
*
|
||||
* @returns A pointer to a new `owl_result`.
|
||||
* @returns `NULL` in case of error.
|
||||
|
@ -263,7 +263,7 @@ owl_algorithm_result* owl_fill_algorithm_result(char **csv)
|
|||
|
||||
|
||||
/**
|
||||
* Converts an `owl_result back` to a CSV string.
|
||||
* Converts an `owl_result` back to a CSV string.
|
||||
* `dst` must be an allocated string of at least `OWL_CSV_RESULT_STRLEN`
|
||||
* characters.
|
||||
*
|
||||
|
@ -273,7 +273,7 @@ owl_algorithm_result* owl_fill_algorithm_result(char **csv)
|
|||
*
|
||||
* *Nb_algo* is the number of algorithms in the result.
|
||||
* The format of *Algo_i* is documented in the documentation of the
|
||||
* `owl_algorithm_result_to_csv()` function.
|
||||
* owl_algorithm_result_to_csv() function.
|
||||
*/
|
||||
void owl_result_to_csv(char dst[OWL_CSV_RESULT_STRLEN],
|
||||
const owl_result *const src)
|
||||
|
@ -349,7 +349,7 @@ owl_algorithm_result_to_csv(char dst[OWL_CSV_ALGORITHM_RESULT_STRLEN],
|
|||
*
|
||||
* *First_algorithm* is the first algorithm in `src->results`. Its format
|
||||
* is documented in the documentation of the
|
||||
* `owl_algorithm_result_to_csv_simple()` function.
|
||||
* owl_algorithm_result_to_csv_simple() function.
|
||||
*/
|
||||
void owl_result_to_csv_simple(char dst[OWL_CSV_RESULT_SIMPLE_STRLEN],
|
||||
const owl_result *const src)
|
||||
|
|
|
@ -382,7 +382,7 @@ void owl_ntoh_timestamp(owl_timestamp *const d)
|
|||
/**
|
||||
* This function swaps the bytes composing a `float`, i.e. it changes
|
||||
* their order.
|
||||
* You probably want to use the `owl_htonf()` and `owl_ntohf()` macros
|
||||
* You probably want to use the owl_htonf() and owl_ntohf() macros
|
||||
* instead of this function.
|
||||
*
|
||||
* @returns The swapped `float`.
|
||||
|
|
|
@ -372,7 +372,7 @@ float owl_swap_float(const float f) ;
|
|||
*
|
||||
* This macro converts the byte order of a `float` if needed, depending
|
||||
* on the endianness of the host, to adopt the endianness of the network.
|
||||
* To actually change the byte order, the `owl_swap_float()` function is
|
||||
* To actually change the byte order, the owl_swap_float() function is
|
||||
* used.
|
||||
*
|
||||
* @def owl_ntohf
|
||||
|
@ -381,7 +381,7 @@ float owl_swap_float(const float f) ;
|
|||
* This macro converts the byte order of a `float` encoded with a network
|
||||
* endianness to adopt the endianness of the host, if the two endianness
|
||||
* are different.
|
||||
* To actually change the byte order, the `owl_swap_float()` function is
|
||||
* To actually change the byte order, the owl_swap_float() function is
|
||||
* used.
|
||||
*/
|
||||
//@}
|
||||
|
|
Loading…
Reference in New Issue