rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | README | LICENSE

sieve.h (344B)


      1 /*
      2  * Copy me if you can.
      3  * by 20h
      4  */
      5 
      6 #ifndef __SIEVE_H__
      7 #define __SIEVE_H__
      8 
      9 #include "net.h"
     10 #include "llist.h"
     11 #include "parser.h"
     12 
     13 typedef struct sieve_t sieve_t;
     14 struct sieve_t {
     15 	net_t *fd;
     16 	parser_t *parser;
     17 
     18 	char *netspec;
     19 	char *user;
     20 	char *pass;
     21 
     22 	int state;
     23 
     24 	llist_t *caps;
     25 };
     26 
     27 int sievemain(int argc, char *argv[]);
     28 
     29 #endif
     30