MCPcopy Index your code
hub / github.com/git/git / imap_exec

Function imap_exec

imap-send.c:587–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587__attribute__((format (printf, 3, 4)))
588static int imap_exec(struct imap_store *ctx, struct imap_cmd_cb *cb,
589 const char *fmt, ...)
590{
591 va_list ap;
592 struct imap_cmd *cmdp;
593
594 va_start(ap, fmt);
595 cmdp = issue_imap_cmd(ctx, cb, fmt, ap);
596 va_end(ap);
597 if (!cmdp)
598 return RESP_BAD;
599
600 return get_cmd_result(ctx, cmdp);
601}
602
603__attribute__((format (printf, 3, 4)))
604static int imap_exec_m(struct imap_store *ctx, struct imap_cmd_cb *cb,

Callers 4

imap_close_serverFunction · 0.85
try_auth_methodFunction · 0.85
imap_open_storeFunction · 0.85
list_imap_foldersFunction · 0.85

Calls 2

issue_imap_cmdFunction · 0.85
get_cmd_resultFunction · 0.85

Tested by

no test coverage detected