diff lib/passfd.h @ 14419:236edbfecf1d

passfd module, part 2. * modules/passfd: New file. * lib/passfd.h: New file. * lib/passfd.c: New file.
author Bastien Roucariès <roucaries.bastien@gmail.com>
date Sun, 13 Mar 2011 15:06:52 +0100
parents
children 08622275f761
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/lib/passfd.h
@@ -0,0 +1,21 @@
+/* passfd.h -- definitions and prototypes for passfd.c
+
+   Copyright (C) 2011 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+#ifndef PASSFD_H_
+#define PASSFD_H_ 1
+int sendfd (int sock, int fd);
+int recvfd (int sock);
+#endif