Defines | Functions | Variables
imap.c File Reference
#include "curl_setup.h"
#include <curl/curl.h>
#include "urldata.h"
#include "sendf.h"
#include "hostip.h"
#include "progress.h"
#include "transfer.h"
#include "escape.h"
#include "http.h"
#include "socks.h"
#include "imap.h"
#include "strtoofft.h"
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
#include "strerror.h"
#include "select.h"
#include "multiif.h"
#include "url.h"
#include "curl_sasl.h"
#include "warnless.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Include dependency graph for imap.c:

Go to the source code of this file.

Defines

#define imap_to_imaps(x)   Curl_nop_stmt

Functions

static char * imap_atom (const char *str, bool escape_only)
static CURLcode imap_block_statemach (struct connectdata *conn)
static CURLcode imap_connect (struct connectdata *conn, bool *done)
static CURLcode imap_continue_authenticate (struct connectdata *conn, const char *resp)
static CURLcode imap_disconnect (struct connectdata *conn, bool dead)
static CURLcode imap_do (struct connectdata *conn, bool *done)
static CURLcode imap_doing (struct connectdata *conn, bool *dophase_done)
static CURLcode imap_done (struct connectdata *conn, CURLcode status, bool premature)
static CURLcode imap_dophase_done (struct connectdata *conn, bool connected)
static bool imap_endofresp (struct connectdata *conn, char *line, size_t len, int *resp)
static void imap_get_message (char *buffer, char **outptr)
static int imap_getsock (struct connectdata *conn, curl_socket_t *socks, int numsocks)
static CURLcode imap_init (struct connectdata *conn)
static bool imap_is_bchar (char ch)
static bool imap_matchresp (const char *line, size_t len, const char *cmd)
static CURLcode imap_multi_statemach (struct connectdata *conn, bool *done)
static CURLcode imap_parse_custom_request (struct connectdata *conn)
static CURLcode imap_parse_url_options (struct connectdata *conn)
static CURLcode imap_parse_url_path (struct connectdata *conn)
static CURLcode imap_perform (struct connectdata *conn, bool *connected, bool *dophase_done)
static CURLcode imap_perform_append (struct connectdata *conn)
static CURLcode imap_perform_authenticate (struct connectdata *conn, const char *mech, const char *initresp)
static CURLcode imap_perform_authentication (struct connectdata *conn)
static CURLcode imap_perform_capability (struct connectdata *conn)
static CURLcode imap_perform_fetch (struct connectdata *conn)
static CURLcode imap_perform_list (struct connectdata *conn)
static CURLcode imap_perform_login (struct connectdata *conn)
static CURLcode imap_perform_logout (struct connectdata *conn)
static CURLcode imap_perform_search (struct connectdata *conn)
static CURLcode imap_perform_select (struct connectdata *conn)
static CURLcode imap_perform_starttls (struct connectdata *conn)
static CURLcode imap_perform_upgrade_tls (struct connectdata *conn)
static CURLcode imap_regular_transfer (struct connectdata *conn, bool *done)
static CURLcode imap_sendf (struct connectdata *conn, const char *fmt,...)
static CURLcode imap_setup_connection (struct connectdata *conn)
static CURLcode imap_state_append_final_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_append_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_auth_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_capability_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_fetch_final_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_fetch_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_listsearch_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_login_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_select_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_servergreet_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_state_starttls_resp (struct connectdata *conn, int imapcode, imapstate instate)
static CURLcode imap_statemach_act (struct connectdata *conn)
static void state (struct connectdata *conn, imapstate newstate)

Variables

struct Curl_handler Curl_handler_imap
static struct Curl_handler Curl_handler_imap_proxy
static struct SASLproto saslimap

Define Documentation

#define imap_to_imaps (   x)    Curl_nop_stmt

Definition at line 236 of file imap.c.


Function Documentation

static char * imap_atom ( const char *  str,
bool  escape_only 
) [static]

Definition at line 1796 of file imap.c.

static CURLcode imap_block_statemach ( struct connectdata conn) [static]

Definition at line 1362 of file imap.c.

static CURLcode imap_connect ( struct connectdata conn,
bool done 
) [static]

Definition at line 1405 of file imap.c.

static CURLcode imap_continue_authenticate ( struct connectdata conn,
const char *  resp 
) [static]

Definition at line 593 of file imap.c.

static CURLcode imap_disconnect ( struct connectdata conn,
bool  dead 
) [static]

Definition at line 1614 of file imap.c.

static CURLcode imap_do ( struct connectdata conn,
bool done 
) [static]

Definition at line 1586 of file imap.c.

static CURLcode imap_doing ( struct connectdata conn,
bool dophase_done 
) [static]

Definition at line 1656 of file imap.c.

static CURLcode imap_done ( struct connectdata conn,
CURLcode  status,
bool  premature 
) [static]

Definition at line 1454 of file imap.c.

static CURLcode imap_dophase_done ( struct connectdata conn,
bool  connected 
) [static]

Definition at line 1642 of file imap.c.

static bool imap_endofresp ( struct connectdata conn,
char *  line,
size_t  len,
int *  resp 
) [static]

Definition at line 287 of file imap.c.

static void imap_get_message ( char *  buffer,
char **  outptr 
) [static]

Definition at line 393 of file imap.c.

static int imap_getsock ( struct connectdata conn,
curl_socket_t socks,
int  numsocks 
) [static]

Definition at line 1389 of file imap.c.

static CURLcode imap_init ( struct connectdata conn) [static]

Definition at line 1375 of file imap.c.

static bool imap_is_bchar ( char  ch) [static]

Definition at line 1880 of file imap.c.

static bool imap_matchresp ( const char *  line,
size_t  len,
const char *  cmd 
) [static]

Definition at line 249 of file imap.c.

static CURLcode imap_multi_statemach ( struct connectdata conn,
bool done 
) [static]

Definition at line 1345 of file imap.c.

static CURLcode imap_parse_custom_request ( struct connectdata conn) [static]

Definition at line 2100 of file imap.c.

static CURLcode imap_parse_url_options ( struct connectdata conn) [static]

Definition at line 1917 of file imap.c.

static CURLcode imap_parse_url_path ( struct connectdata conn) [static]

Definition at line 1969 of file imap.c.

static CURLcode imap_perform ( struct connectdata conn,
bool connected,
bool dophase_done 
) [static]

Definition at line 1515 of file imap.c.

static CURLcode imap_perform_append ( struct connectdata conn) [static]

Definition at line 756 of file imap.c.

static CURLcode imap_perform_authenticate ( struct connectdata conn,
const char *  mech,
const char *  initresp 
) [static]

Definition at line 569 of file imap.c.

static CURLcode imap_perform_authentication ( struct connectdata conn) [static]

Definition at line 609 of file imap.c.

static CURLcode imap_perform_capability ( struct connectdata conn) [static]

Definition at line 461 of file imap.c.

static CURLcode imap_perform_fetch ( struct connectdata conn) [static]

Definition at line 722 of file imap.c.

static CURLcode imap_perform_list ( struct connectdata conn) [static]

Definition at line 647 of file imap.c.

static CURLcode imap_perform_login ( struct connectdata conn) [static]

Definition at line 531 of file imap.c.

static CURLcode imap_perform_logout ( struct connectdata conn) [static]

Definition at line 823 of file imap.c.

static CURLcode imap_perform_search ( struct connectdata conn) [static]

Definition at line 797 of file imap.c.

static CURLcode imap_perform_select ( struct connectdata conn) [static]

Definition at line 682 of file imap.c.

static CURLcode imap_perform_starttls ( struct connectdata conn) [static]

Definition at line 485 of file imap.c.

static CURLcode imap_perform_upgrade_tls ( struct connectdata conn) [static]

Definition at line 504 of file imap.c.

static CURLcode imap_regular_transfer ( struct connectdata conn,
bool done 
) [static]

Definition at line 1680 of file imap.c.

static CURLcode imap_sendf ( struct connectdata conn,
const char *  fmt,
  ... 
) [static]

Definition at line 1755 of file imap.c.

static CURLcode imap_setup_connection ( struct connectdata conn) [static]

Definition at line 1706 of file imap.c.

static CURLcode imap_state_append_final_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1235 of file imap.c.

static CURLcode imap_state_append_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1209 of file imap.c.

static CURLcode imap_state_auth_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 968 of file imap.c.

static CURLcode imap_state_capability_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 857 of file imap.c.

static CURLcode imap_state_fetch_final_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1191 of file imap.c.

static CURLcode imap_state_fetch_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1096 of file imap.c.

static CURLcode imap_state_listsearch_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1023 of file imap.c.

static CURLcode imap_state_login_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1002 of file imap.c.

static CURLcode imap_state_select_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 1049 of file imap.c.

static CURLcode imap_state_servergreet_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 837 of file imap.c.

static CURLcode imap_state_starttls_resp ( struct connectdata conn,
int  imapcode,
imapstate  instate 
) [static]

Definition at line 944 of file imap.c.

static CURLcode imap_statemach_act ( struct connectdata conn) [static]

Definition at line 1252 of file imap.c.

static void state ( struct connectdata conn,
imapstate  newstate 
) [static]

Definition at line 422 of file imap.c.


Variable Documentation

struct SASLproto saslimap [static]
Initial value:

Definition at line 215 of file imap.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08