view acconfig.h @ 188:f1bacee93ca6 noffle

[svn] * src/client.c,src/client.h,src/fetch.c,src/noffle.c,src/server.c: robustness - instead of retruning simple Passed/Failed statuses from connection functions, return an integer status instead. This allows Noffle to distinguish between a connection failure, an unrecoverable protocol error and a recoverable problem. As a concrete instance, Noffle will no longer abort the connection if a group is removed from the upstream server. Also beef up error detection a bit. * src/content.c: instead of overwriting the existing content file(s) when updating - which leaves a window where Noffle is vulnerable to failure which will leave the content file corrupted (yes, it happened to me), write a new content file and rename it over the old file only when it has been written and closed with no errors reported.
author bears
date Wed, 12 Sep 2001 21:33:44 +0100
parents fd821441f016
children c02c4eb95f95
line wrap: on
line source

/* For use by autoheader */

#ifndef CONFIG_H
#define CONFIG_H    /* To stop multiple inclusions. */

/* The NOFFLE config-file */
#undef CONFIGFILE

/* The default NOFFLE spool-directory */
#undef SPOOLDIR

/* Enable GNU extensions. */
#undef _GNU_SOURCE

/* Define to 'unsigned int' if not already defined by the system. */
#undef socklen_t

/* path to sendmail binary */
#undef SENDMAILPROG

@TOP@
/* autoheader generated things inserted here. */
@BOTTOM@


#endif /* CONFIG_H */