diff options
author | Bastien Roucariès <roucaries.bastien@gmail.com> | 2011-03-13 15:06:52 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-03-13 15:35:46 +0100 |
commit | ee195dafe32fed7ec44fb0cbf775e1638e668b9b (patch) | |
tree | 83e35052752eb7e324e58c83a4c0ce600bab3cad /lib/passfd.h | |
parent | 68d757e2cb228590d46961cbf3e9ec7d4460e335 (diff) | |
download | gnulib-ee195dafe32fed7ec44fb0cbf775e1638e668b9b.tar.gz |
passfd module, part 2.
* modules/passfd: New file.
* lib/passfd.h: New file.
* lib/passfd.c: New file.
Diffstat (limited to 'lib/passfd.h')
-rw-r--r-- | lib/passfd.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/passfd.h b/lib/passfd.h new file mode 100644 index 0000000000..13eb3b1dfb --- /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 |