leafnode  1.12.0
About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.
  Fossies Dox: leafnode-1.12.0.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

validatefqdn.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int is_validfqdn (const char *fqdn)
void validatefqdn (int)

Function Documentation

◆ is_validfqdn()

int is_validfqdn ( const char *  f)

Check the supplied FQDN for validity.

0 if invalid, 1 if valid

Definition at line 66 of file validatefqdn.c.

References fqdn, strcasecmpsuffix(), and strdup().

Referenced by dopost(), try_lock(), validatefqdn(), and whoami().

◆ validatefqdn()

void validatefqdn ( int  logtostdout)

Definition at line 103 of file validatefqdn.c.

References fqdn, and is_validfqdn().

Referenced by readconfig().