"Fossies" - the Fresh Open Source Software Archive

Member "citadel/modules/pop3/serv_pop3.h" (5 Jun 2021, 1208 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "serv_pop3.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Copyright (c) 1998-2017 by the citadel.org team
    3  *
    4  * This program is open source software; you can redistribute it and/or modify
    5  * it under the terms of the GNU General Public License version 3.
    6  *
    7  * This program is distributed in the hope that it will be useful,
    8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   10  * GNU General Public License for more details.
   11  */
   12 
   13 struct pop3msg {
   14     long msgnum;
   15     size_t rfc822_length;
   16     int deleted;
   17 };
   18 
   19 struct citpop3 {        /* Information about the current session */
   20     struct pop3msg *msgs;   /* Array of message pointers */
   21     int num_msgs;       /* Number of messages in array */
   22     int lastseen;       /* Offset of last-read message in array */
   23 };
   24                 /* Note: the "lastseen" is represented as the
   25                  * offset in this array (zero-based), so when
   26                  * displaying it to a POP3 client, it must be
   27                  * incremented by one.
   28                  */
   29 
   30 #define POP3 ((struct citpop3 *)CC->session_specific_data)
   31 
   32 void pop3_cleanup_function(void);
   33 void pop3_greeting(void);
   34 void pop3_user(char *argbuf);
   35 void pop3_pass(char *argbuf);
   36 void pop3_list(char *argbuf);
   37 void pop3_command_loop(void);
   38 void pop3_login(void);
   39