Changes in uspace/srv/net/app/print_error.h [21580dd:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/app/print_error.h
r21580dd raadf01e 42 42 * @returns A value indicating whether the error code may be an ICMP error code. 43 43 */ 44 #define IS_ICMP_ERROR( error_code ) (( error_code ) > 0)44 #define IS_ICMP_ERROR(error_code) ((error_code) > 0) 45 45 46 46 /** Returns whether the error code may be socket error code. … … 48 48 * @returns A value indicating whether the error code may be a socket error code. 49 49 */ 50 #define IS_SOCKET_ERROR( error_code ) (( error_code ) < 0)50 #define IS_SOCKET_ERROR(error_code) ((error_code) < 0) 51 51 52 52 /** Prints the error description. … … 57 57 * @param[in] suffix The error description suffix. May be NULL. 58 58 */ 59 void print_error( FILE * output, int error_code, const char * prefix, const char * suffix);59 void print_error(FILE * output, int error_code, const char * prefix, const char * suffix); 60 60 61 61 /** Prints the specific ICMP error description. … … 65 65 * @param[in] suffix The error description suffix. May be NULL. 66 66 */ 67 void icmp_print_error( FILE * output, int error_code, const char * prefix, const char * suffix);67 void icmp_print_error(FILE * output, int error_code, const char * prefix, const char * suffix); 68 68 69 69 /** Prints the specific socket error description. … … 73 73 * @param[in] suffix The error description suffix. May be NULL. 74 74 */ 75 void socket_print_error( FILE * output, int error_code, const char * prefix, const char * suffix);75 void socket_print_error(FILE * output, int error_code, const char * prefix, const char * suffix); 76 76 77 77 #endif
Note:
See TracChangeset
for help on using the changeset viewer.