PreviousNext

util.h

Following are the contents of the util.h file, which contains declarations used in the util.c file.

/*

* util.h

*

* Declarations of utility routine(s) shared by "greet_dced" client

* and server programs.

*/

#define ERROR_CHECK(status, text) if (status != error_status_ok) error_exit(status, text)

void

error_exit(

error_status_t status,

char *text

);