~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/smtpd/smtpd_token.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-ooo6yfg6kmoteu04
Tags: upstream-2.1.3
ImportĀ upstreamĀ versionĀ 2.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*++
 
2
/* NAME
 
3
/*      smtpd_token 3h
 
4
/* SUMMARY
 
5
/*      tokenize SMTPD command
 
6
/* SYNOPSIS
 
7
/*      #include <smtpd_token.h>
 
8
/* DESCRIPTION
 
9
/* .nf
 
10
 
 
11
 /*
 
12
  * Utility library.
 
13
  */
 
14
#include <vstring.h>
 
15
 
 
16
 /*
 
17
  * External interface.
 
18
  */
 
19
typedef struct SMTPD_TOKEN {
 
20
    int     tokval;
 
21
    char   *strval;
 
22
    VSTRING *vstrval;
 
23
} SMTPD_TOKEN;
 
24
 
 
25
#define SMTPD_TOK_OTHER 0
 
26
#define SMTPD_TOK_ADDR  1
 
27
#define SMTPD_TOK_ERROR 2
 
28
 
 
29
extern int smtpd_token(char *, SMTPD_TOKEN **);
 
30
 
 
31
/* LICENSE
 
32
/* .ad
 
33
/* .fi
 
34
/*      The Secure Mailer license must be distributed with this software.
 
35
/* AUTHOR(S)
 
36
/*      Wietse Venema
 
37
/*      IBM T.J. Watson Research
 
38
/*      P.O. Box 704
 
39
/*      Yorktown Heights, NY 10598, USA
 
40
/*--*/