Home
last modified time | relevance | path

Searched refs:msgfd (Results 1 – 25 of 52) sorted by relevance

123

/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/imap/
H A Dobjectstore_caringo.c133 int msgfd; in objectstore_put() local
135 msgfd = open(fname, O_RDONLY, 0666); in objectstore_put()
136 if (msgfd == -1) { in objectstore_put()
138 return msgfd; in objectstore_put()
141 if (fstat(msgfd, &sbuf) == -1) { in objectstore_put()
145 buf_refresh_mmap(&buffer, /*onceonly*/1, msgfd, fname, sbuf.st_size, mailbox->name); in objectstore_put()
146 close(msgfd); in objectstore_put()
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/imap/
H A Dobjectstore_caringo.c133 int msgfd; in objectstore_put() local
135 msgfd = open(fname, O_RDONLY, 0666); in objectstore_put()
136 if (msgfd == -1) { in objectstore_put()
138 return msgfd; in objectstore_put()
141 if (fstat(msgfd, &sbuf) == -1) { in objectstore_put()
145 buf_refresh_mmap(&buffer, /*onceonly*/1, msgfd, fname, sbuf.st_size, mailbox->name); in objectstore_put()
146 close(msgfd); in objectstore_put()
/dports/mail/cyrus-imapd30/cyrus-imapd-3.0.16/imap/
H A Dobjectstore_caringo.c133 int msgfd; in objectstore_put() local
135 msgfd = open(fname, O_RDONLY, 0666); in objectstore_put()
136 if (msgfd == -1) { in objectstore_put()
138 return msgfd; in objectstore_put()
141 if (fstat(msgfd, &sbuf) == -1) { in objectstore_put()
145 buf_init_mmap(&buffer, /*onceonly*/1, msgfd, fname, sbuf.st_size, mailbox->name); in objectstore_put()
146 close(msgfd); in objectstore_put()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/db/
H A Dtrcrun.c10 int msgfd = -1; variable
21 if(msgfd >= 0){ in setpcs()
22 close(msgfd); in setpcs()
23 msgfd = -1; in setpcs()
31 msgfd = open(buf, OWRITE); in setpcs()
32 if(msgfd < 0) in setpcs()
48 if(write(msgfd, msg, strlen(msg)) < 0 && !ending){ in msgpcs()
/dports/mail/qmail-autoresponder/qmail-autoresponder-2.0/
H A Dqmail.c10 static int msgfd; variable
62 msgfd = pipe1[1]; in qmail_start()
81 return msgfd; in qmail_start()
113 close(msgfd); in qmail_finish()
H A Dmain.c172 int msgfd = qmail_start(); in main() local
173 if (!obuf_init(&bufout, msgfd, 0, IOBUF_NEEDSCLOSE, 0)) in main()
/dports/audio/harp/harp-0.6.0/
H A Dmessage.c26 if(debugconf.log==1 && debugconf.level>=level && debugconf.msgfd){ in debug()
27 fprintf(debugconf.msgfd,"%s\n",msg); in debug()
28 fflush(debugconf.msgfd); in debug()
/dports/net/ladvd/ladvd-1.1.2/src/
H A Dchild.c50 void child_init(int reqfd, int msgfd, int ifc, char *ifl[], in child_init() argument
125 event_set(&args.event, msgfd, 0, (void *)child_send, &args); in child_init()
126 child_send(msgfd, EV_TIMEOUT, &args); in child_init()
133 event_set(&evq, msgfd, EV_READ|EV_PERSIST, (void *)child_queue, NULL); in child_init()
152 child_link, (void *)&msgfd); in child_init()
574 static int child_link_cb(const struct nlmsghdr *nlh, void *msgfd) { in child_link_cb() argument
586 child_send(*(int*)msgfd, 0, &args); in child_link_cb()
592 void child_link(int __unused(fd), short __unused(event), void *msgfd) { in child_link() argument
600 ret = mnl_cb_run(buf, ret, 0, 0, child_link_cb, msgfd); in child_link()
635 child_send(*(int*)msgfd, 0, &args); in child_link()
H A Dparent.c80 void parent_init(int reqfd, int msgfd, pid_t child) { in parent_init() argument
99 mfd = msgfd; in parent_init()
133 event_set(&ev_msg, msgfd, EV_READ|EV_PERSIST, (void *)parent_send, NULL); in parent_init()
309 void parent_send(int msgfd, short event) { in parent_send() argument
315 len = read(msgfd, &msend, PARENT_MSG_MAX); in parent_send()
H A Dcommon.h327 void child_init(int reqfd, int msgfd, int ifc, char *ifl[], struct passwd *pwd);
328 void parent_init(int reqfd, int msgfd, pid_t pid);
/dports/comms/ncid/ncid/server/
H A Dnciddhangup.c394 int ret = 0, msgfd, rcnt, wcnt, tcnt = 0; in hangupCall() local
422 if ((msgfd = open(recording, O_RDONLY)) == -1) in hangupCall()
424 logMsg(LEVELE, "%d: %s\n", msgfd, strerror(errno)); in hangupCall()
436 rcnt = read(msgfd, voicebuf, BUFSIZ); in hangupCall()
441 close(msgfd); in hangupCall()
/dports/mail/mailfront/mailfront-2.22/
H A Dbackend-qmail.c61 static const response *start_qq(int msgfd, int envfd) in start_qq() argument
79 if (dup2(msgfd, 0) == -1) exit(120); in start_qq()
/dports/mail/libmilter/sendmail-8.16.1/mail.local/
H A Dmail.local.c549 int msgfd; in dolmtp() local
586 msgfd = store(return_path, &inbody); in dolmtp()
588 if (msgfd < 0 && !inbody) in dolmtp()
596 if (msgfd < 0) in dolmtp()
605 deliver(msgfd, rcpt_addr[i]); in dolmtp()
607 if (msgfd >= 0) in dolmtp()
608 (void) close(msgfd); in dolmtp()
/dports/mail/panda-cclient/panda-imap-7905901/src/osdep/unix/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/panda-cclient/panda-imap-7905901/src/osdep/amiga/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/panda-imap/panda-imap-7905901/src/osdep/amiga/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/panda-imap/panda-imap-7905901/src/osdep/unix/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/cclient/imap-2007f/src/osdep/amiga/
H A Dmix.c81 int msgfd; /* file description of current msg file */ member
616 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
685 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
719 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
736 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
782 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
803 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1412 if ((LOCAL->msgfd < 0) || in mix_copy()
1414 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1421 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/cclient/imap-2007f/src/osdep/unix/
H A Dmix.c81 int msgfd; /* file description of current msg file */ member
616 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
685 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
719 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
736 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
782 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
803 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1412 if ((LOCAL->msgfd < 0) || in mix_copy()
1414 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1421 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/alpine/alpine-465e23b/imap/src/osdep/unix/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
615 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
684 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
718 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
735 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
781 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
802 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1418 if ((LOCAL->msgfd < 0) || in mix_copy()
1420 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1427 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/alpine/alpine-465e23b/imap/src/osdep/amiga/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/imap/src/osdep/unix/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
615 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
684 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
718 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
735 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
781 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
802 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1418 if ((LOCAL->msgfd < 0) || in mix_copy()
1420 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1427 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/editors/pico-alpine/alpine-465e23b/imap/src/osdep/amiga/
H A Dmix.c79 int msgfd; /* file description of current msg file */ member
614 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
683 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
717 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
734 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
780 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
801 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1417 if ((LOCAL->msgfd < 0) || in mix_copy()
1419 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1426 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/imap-uw/imap-2007f/src/osdep/amiga/
H A Dmix.c81 int msgfd; /* file description of current msg file */ member
616 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
685 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
719 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
736 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
782 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
803 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1412 if ((LOCAL->msgfd < 0) || in mix_copy()
1414 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1421 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]
/dports/mail/imap-uw/imap-2007f/src/osdep/unix/
H A Dmix.c81 int msgfd; /* file description of current msg file */ member
616 LOCAL->msgfd = -1; /* currently no file open */ in mix_open()
685 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_abort()
719 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_header()
736 if ((read (LOCAL->msgfd,LOCAL->buf,j) == j) && in mix_header()
782 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_text()
803 d.fd = LOCAL->msgfd; /* set up file descriptor */ in mix_text()
1412 if ((LOCAL->msgfd < 0) || in mix_copy()
1414 if (LOCAL->msgfd >= 0) close (LOCAL->msgfd); in mix_copy()
1421 if (LOCAL->msgfd < 0) ret = NIL; in mix_copy()
[all …]

123