Mercurial > noffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
243:6eb6c912a0e4 | 244:4e69e9b722ae |
---|---|
1 /* | 1 /* |
2 util.h | 2 util.h |
3 | 3 |
4 Miscellaneous helper functions. | 4 Miscellaneous helper functions. |
5 | 5 |
6 $Id: util.h 248 2001-01-25 11:00:03Z bears $ | 6 $Id: util.h 375 2002-03-15 10:50:33Z bears $ |
7 */ | 7 */ |
8 | 8 |
9 #ifndef UTL_H | 9 #ifndef UTL_H |
10 #define UTL_H | 10 #define UTL_H |
11 | 11 |
104 | 104 |
105 /* Install signal handler. */ | 105 /* Install signal handler. */ |
106 sig_t | 106 sig_t |
107 Utl_installSignalHandler( int sig, sig_t handler ); | 107 Utl_installSignalHandler( int sig, sig_t handler ); |
108 | 108 |
109 /* Obtain this system FQDN. */ | |
110 Bool | |
111 Utl_getFQDN( Str result ); | |
112 | |
109 #endif | 113 #endif |