Mercurial > noffle
diff src/util.h @ 244:4e69e9b722ae noffle
[svn] * src/database.c,src/protocol.c,src/util.c,src/util.h: The latest IETF
article format draft draft-ietf-usefor-article-06.txt recommends that
Xref: references contain the FQDN of the server. We were using the
host name without the domain. So split the routine used for obtaining
the FQDN from protocol.c into util.c, and use it when adding Xrefs.
author | bears |
---|---|
date | Fri, 15 Mar 2002 10:50:33 +0000 |
parents | 94f2e5607772 |
children | b660fadc1814 |
line wrap: on
line diff
--- a/src/util.h Fri Mar 15 10:49:56 2002 +0000 +++ b/src/util.h Fri Mar 15 10:50:33 2002 +0000 @@ -3,7 +3,7 @@ Miscellaneous helper functions. - $Id: util.h 248 2001-01-25 11:00:03Z bears $ + $Id: util.h 375 2002-03-15 10:50:33Z bears $ */ #ifndef UTL_H @@ -106,4 +106,8 @@ sig_t Utl_installSignalHandler( int sig, sig_t handler ); +/* Obtain this system FQDN. */ +Bool +Utl_getFQDN( Str result ); + #endif