view src/outgoing.h @ 272:f3b44be9e4ab noffle

[svn] * configure.in: Remove '-ansi' and '-Wtraditional'. We use functions that aren't strict ANSI, and I'm not interested in warnings about usage differences between ANSI and K&R. * Makefile.in,aclocal.m4,config.h.in,configure,src/Makefile.in: Regenerate after configure.in change. With all the above in, we now compile cleanly on Cygwin with GCC 3.2, except for a warning about printing a time_t with a %ld format. This will serve as a reminder that we assume time_t is the same size as a long.
author bears
date Sun, 10 Nov 2002 11:44:18 +0000
parents 32ba1198c6fa
children
line wrap: on
line source

/*
  outgoing.h

  Collection of posted articles.

  $Id: outgoing.h 51 2000-05-05 23:49:38Z uh1763 $
*/

#ifndef OUT_H
#define OUT_H

#if HAVE_CONFIG_H
#include <config.h>
#endif

#include "common.h"
#include "dynamicstring.h"

Bool
Out_add( const char *serv, const char *msgId, const DynStr *artTxt );

/* Start enumeration. Return TRUE on success. */
Bool
Out_first( const char *serv, Str msgId, DynStr *artTxt );

/* Continue enumeration. Return TRUE on success. */
Bool
Out_next( Str msgId, DynStr *s );

/* Delete article from outgoing collection */
void
Out_remove( const char *serv, const char *msgId );

/* Find server for outgoing message. */
Bool
Out_find( const char *msgId, Str server );

#endif