ReactOS  0.4.14-dev-98-gb0d4763
client.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADNS_VERSION_STRING   "1.0"
 
#define COPYRIGHT_MESSAGE
 
#define VERSION_MESSAGE(program)   program " (GNU adns) " ADNS_VERSION_STRING "\n\n" COPYRIGHT_MESSAGE
 
#define VERSION_PRINT_QUIT(program)
 

Functions

void quitnow (int rc) NONRETURNING
 

Macro Definition Documentation

◆ ADNS_VERSION_STRING

#define ADNS_VERSION_STRING   "1.0"

Definition at line 31 of file client.h.

◆ COPYRIGHT_MESSAGE

#define COPYRIGHT_MESSAGE
Value:
"Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>\n" \
"Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>\n" \
"This is free software; see the source for copying conditions. There is NO\n" \
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"

Definition at line 33 of file client.h.

◆ VERSION_MESSAGE

#define VERSION_MESSAGE (   program)    program " (GNU adns) " ADNS_VERSION_STRING "\n\n" COPYRIGHT_MESSAGE

Definition at line 39 of file client.h.

◆ VERSION_PRINT_QUIT

#define VERSION_PRINT_QUIT (   program)
Value:
fclose(stdout)) { \
perror(program ": write version message"); \
quitnow(-1); \
} \
quitnow(0);
FILE * stdout
#define VERSION_MESSAGE(program)
Definition: client.h:39
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
GLuint program
Definition: glext.h:6723
#define EOF
Definition: stdio.h:24
_Check_return_opt_ _CRTIMP int __cdecl fputs(_In_z_ const char *_Str, _Inout_ FILE *_File)

Definition at line 42 of file client.h.

Function Documentation

◆ quitnow()

void quitnow ( int  rc)

Definition at line 42 of file adh-main.c.

42  {
43  if (ads) adns_finish(ads);
44  free(buf);
45  free(ov_id);
46  exit(rc);
47 }
adns_state ads
Definition: adh-query.c:35
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
ADNS_API void adns_finish(adns_state ads)
Definition: setup.c:650
#define free
Definition: debug_ros.c:5
char * ov_id
Definition: adh-opts.c:40
void exit(int exitcode)
Definition: _exit.c:33

Referenced by adnsfail(), main(), parseargs(), sysfail(), and usageerr().