Browse Source

renaming wrappers.h to syscall_wrappers.h

merge-experiment
Volker Birk 7 years ago
parent
commit
0d32d30e49
27 changed files with 30 additions and 27 deletions
  1. +1
    -1
      src/data-types/connect.c
  2. +1
    -1
      src/data-types/maillock.c
  3. +1
    -1
      src/data-types/mailstream_cancel.c
  4. +1
    -1
      src/data-types/mailstream_low.c
  5. +1
    -1
      src/data-types/mailstream_socket.c
  6. +1
    -1
      src/data-types/mailstream_ssl.c
  7. +1
    -1
      src/data-types/mmapstring.c
  8. +4
    -1
      src/data-types/wrappers.h
  9. +1
    -1
      src/driver/implementation/imap/imapdriver_cached_message.c
  10. +1
    -1
      src/driver/implementation/maildir/maildirdriver_cached_message.c
  11. +1
    -1
      src/driver/implementation/maildir/maildirdriver_message.c
  12. +1
    -1
      src/driver/implementation/mbox/mboxdriver_cached.c
  13. +1
    -1
      src/driver/implementation/mh/mhdriver.c
  14. +1
    -1
      src/driver/implementation/mh/mhdriver_cached.c
  15. +1
    -1
      src/driver/implementation/mh/mhdriver_tools.c
  16. +1
    -1
      src/driver/implementation/nntp/nntpdriver_cached.c
  17. +1
    -1
      src/driver/interface/mailstorage_tools.c
  18. +1
    -1
      src/low-level/imap/mailimap_socket.c
  19. +1
    -1
      src/low-level/imap/mailimap_ssl.c
  20. +1
    -1
      src/low-level/maildir/maildir.c
  21. +1
    -1
      src/low-level/mbox/mailmbox.c
  22. +1
    -1
      src/low-level/mh/mailmh.c
  23. +1
    -1
      src/low-level/mime/mailmime_write_generic.c
  24. +1
    -1
      src/low-level/nntp/newsnntp_socket.c
  25. +1
    -1
      src/low-level/nntp/newsnntp_ssl.c
  26. +1
    -1
      src/low-level/pop3/mailpop3_socket.c
  27. +1
    -1
      src/low-level/pop3/mailpop3_ssl.c

+ 1
- 1
src/data-types/connect.c View File

@ -60,7 +60,7 @@
# include <arpa/inet.h>
#endif
#include "wrappers.h"
#include "syscall_wrappers.h"
int libetpan_deliver_sigpipe = 0;


+ 1
- 1
src/data-types/maillock.c View File

@ -58,7 +58,7 @@
#endif
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
/* ********************************************************************** */


+ 1
- 1
src/data-types/mailstream_cancel.c View File

@ -80,7 +80,7 @@
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
struct mailstream_cancel_internal {
#ifdef LIBETPAN_REENTRANT


+ 1
- 1
src/data-types/mailstream_low.c View File

@ -64,7 +64,7 @@
#include "mailstream_compress.h"
#include "mailstream_cancel.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
#define LOG_FILE "libetpan-stream-debug.log"


+ 1
- 1
src/data-types/mailstream_socket.c View File

@ -71,7 +71,7 @@
#include "mailstream_cancel.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
struct mailstream_socket_data {
int fd;


+ 1
- 1
src/data-types/mailstream_ssl.c View File

@ -100,7 +100,7 @@
#include "mmapstring.h"
#include "mailstream_cancel.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
struct mailstream_ssl_context
{


+ 1
- 1
src/data-types/mmapstring.c View File

@ -57,7 +57,7 @@
#endif
#endif
#include "wrappers.h"
#include "syscall_wrappers.h"
#define MMAPSTRING_MAX(a, b) ((a) > (b) ? (a) : (b))
#define MMAPSTRING_MIN(a, b) ((a) < (b) ? (a) : (b))


+ 4
- 1
src/data-types/wrappers.h View File

@ -1,4 +1,5 @@
#pragma once
#ifndef __SYSCALL_WRAPPERS_H__
#define __SYSCALL_WRAPPERS_H__
#include <errno.h>
#include <stdarg.h>
@ -324,3 +325,5 @@ static inline pid_t Waitpid(pid_t pid, int *stat_loc, int options)
#endif
#endif // __SYSCALL_WRAPPERS_H__

+ 1
- 1
src/driver/implementation/imap/imapdriver_cached_message.c View File

@ -53,7 +53,7 @@
#include <stdlib.h>
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
static int imap_initialize(mailmessage * msg_info);


+ 1
- 1
src/driver/implementation/maildir/maildirdriver_cached_message.c View File

@ -62,7 +62,7 @@
#include <stdlib.h>
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
static int get_flags(mailmessage * msg_info,
struct mail_flags ** result);


+ 1
- 1
src/driver/implementation/maildir/maildirdriver_message.c View File

@ -62,7 +62,7 @@
# include "win_etpan.h"
#endif
#include "wrappers.h"
#include "syscall_wrappers.h"
static int get_flags(mailmessage * msg_info,
struct mail_flags ** result);


+ 1
- 1
src/driver/implementation/mbox/mboxdriver_cached.c View File

@ -67,7 +67,7 @@
#include "mboxdriver_cached_message.h"
#include "libetpan-config.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
static int mboxdriver_cached_initialize(mailsession * session);


+ 1
- 1
src/driver/implementation/mh/mhdriver.c View File

@ -61,7 +61,7 @@
#include "mhdriver_message.h"
#include "mailmessage.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
static int mhdriver_initialize(mailsession * session);


+ 1
- 1
src/driver/implementation/mh/mhdriver_cached.c View File

@ -68,7 +68,7 @@
#include "mhdriver_tools.h"
#include "mailmessage.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
static int mhdriver_cached_initialize(mailsession * session);


+ 1
- 1
src/driver/implementation/mh/mhdriver_tools.c View File

@ -64,7 +64,7 @@
# include "win_etpan.h"
#endif
#include "wrappers.h"
#include "syscall_wrappers.h"
int mhdriver_mh_error_to_mail_error(int error)
{


+ 1
- 1
src/driver/implementation/nntp/nntpdriver_cached.c View File

@ -69,7 +69,7 @@
#include "nntpdriver_cached_message.h"
#include "nntpdriver_tools.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
static int nntpdriver_cached_initialize(mailsession * session);


+ 1
- 1
src/driver/interface/mailstorage_tools.c View File

@ -63,7 +63,7 @@
#include "maildriver.h"
#include "connect.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
/* tools */


+ 1
- 1
src/low-level/imap/mailimap_socket.c View File

@ -54,7 +54,7 @@
#include "mailstream_cfstream.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_IMAP_PORT 143
#define SERVICE_NAME_IMAP "imap2"


+ 1
- 1
src/low-level/imap/mailimap_ssl.c View File

@ -54,7 +54,7 @@
#include "mailstream_cfstream.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_IMAPS_PORT 993
#define SERVICE_NAME_IMAPS "imaps"


+ 1
- 1
src/low-level/maildir/maildir.c View File

@ -59,7 +59,7 @@
#include <libgen.h>
#endif
#include "wrappers.h"
#include "syscall_wrappers.h"
/*
We suppose the maildir mailbox remains on one unique filesystem.


+ 1
- 1
src/low-level/mbox/mailmbox.c View File

@ -63,7 +63,7 @@
#include "mailmbox_parse.h"
#include "maillock.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
#if 0
#define CRLF_BADNESS


+ 1
- 1
src/low-level/mh/mailmh.c View File

@ -70,7 +70,7 @@ sys 0m0.110s
#include "libetpan-config.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
struct mailmh * mailmh_new(const char * foldername)
{


+ 1
- 1
src/low-level/mime/mailmime_write_generic.c View File

@ -60,7 +60,7 @@
#include "mailmime_content.h"
#include "mailmime_types_helper.h"
#include "wrappers.h"
#include "syscall_wrappers.h"
#define MAX_MAIL_COL 78


+ 1
- 1
src/low-level/nntp/newsnntp_socket.c View File

@ -52,7 +52,7 @@
#endif
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_NNTP_PORT 119
#define SERVICE_NAME_NNTP "nntp"


+ 1
- 1
src/low-level/nntp/newsnntp_ssl.c View File

@ -51,7 +51,7 @@
#endif
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_NNTPS_PORT 563
#define SERVICE_NAME_NNTPS "nntps"


+ 1
- 1
src/low-level/pop3/mailpop3_socket.c View File

@ -52,7 +52,7 @@
#include <stdlib.h>
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_POP3_PORT 110
#define SERVICE_NAME_POP3 "pop3"


+ 1
- 1
src/low-level/pop3/mailpop3_ssl.c View File

@ -52,7 +52,7 @@
#include <stdlib.h>
#include <errno.h>
#include "wrappers.h"
#include "syscall_wrappers.h"
#define DEFAULT_POP3S_PORT 995
#define SERVICE_NAME_POP3S "pop3s"


Loading…
Cancel
Save