Mercurial > noffle
view src/fetch.h @ 288:c02c4eb95f95 noffle
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
and noffle-group configs.
* src/configfile.c,src/fetch.c,src/fetchlist.c,src/protocol.c,
src/server.c: Replace strcpy() with Utl_cpyStr() where appropriate.
See Debian bug 168128.
* src/control.c,src/configfile.c,src/noffle.c: Replace [s]scanf("%s")
with [s]scanf(MAXCHAR_FMT).
* src/noffle.c: Log warning if noffle.conf is world readable.
* src/noffle.c: Restrict most options to news admins; i.e. those who
are root or news on running Noffle.
* Makefile.in,acconfig.h,aclocal.m4,config.h.in,configure,configure.in,
docs/Makefile.in,docs/noffle.conf.5,packages/Makefile.in,
packages/redhat/Makefile.in,src/Makefile.am,src/Makefile.in,
src/authenticate.c,src/authenticate.h,src/noffle.c,src/server.c:
Add basic authentication using either Noffle-specific user file
or authenticating via PAM (service 'noffle'). PAM authentication
needs to run as root, so a Noffle server that needs PAM
must be started by root. Helpful (?) error messages will be logged
if not. Noffle will switch ruid and euid to 'news' (or whatever
is configured) ASAP.
* src/noffle.c: Add uid checking.
author | bears |
---|---|
date | Fri, 10 Jan 2003 23:25:45 +0000 |
parents | 09ca6eb5c7ff |
children |
line wrap: on
line source
/* fetch.h Do the daily business by using client.c $Id: fetch.h 279 2001-05-09 11:33:43Z bears $ */ #ifndef FETCH_H #define FETCH_H #if HAVE_CONFIG_H #include <config.h> #endif #include "common.h" #include "database.h" #include "fetchlist.h" Bool Fetch_init( const char *serv ); void Fetch_close( void ); Bool Fetch_getNewGrps( void ); Bool Fetch_updateGrps( void ); Bool Fetch_getReq_( void ); Bool Fetch_postArts( void ); /* Get new articles in group "grp", using fetch mode "mode". */ Bool Fetch_getNewArts( const char *grp, FetchMode mode ); #endif