view src/master/dup2-array.h @ 9565:7c447e8c24fe HEAD

maildir: If we detect MH as the cause of unexpunging, log it in the error message.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Apr 2010 20:43:16 +0300
parents e4eb71ae8e96
children
line wrap: on
line source

#ifndef DUP2_ARRAY_H
#define DUP2_ARRAY_H

struct dup2 {
	int fd_src, fd_dest;
};
ARRAY_DEFINE_TYPE(dup2, struct dup2);

void dup2_append(ARRAY_TYPE(dup2) *dups, int fd_src, int fd_dest);

int dup2_array(ARRAY_TYPE(dup2) *dups);

#endif