Blame src/w32ce-fd-t.inc.h
|
Packit Service |
cbd1e2 |
## w32ce-fd-t.inc.h - Include fragment to build assuan.h.
|
|
Packit Service |
cbd1e2 |
## Copyright (C) 2010 Free Software Foundation, Inc.
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
## This file is part of Assuan.
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
## Assuan is free software; you can redistribute it and/or modify it
|
|
Packit Service |
cbd1e2 |
## under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
cbd1e2 |
## published by the Free Software Foundation; either version 2.1 of
|
|
Packit Service |
cbd1e2 |
## the License, or (at your option) any later version.
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
## Assuan is distributed in the hope that it will be useful, but
|
|
Packit Service |
cbd1e2 |
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
cbd1e2 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
cbd1e2 |
## Lesser General Public License for more details.
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
## You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
cbd1e2 |
## License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
cbd1e2 |
## SPDX-License-Identifier: LGPL-2.1+
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
##
|
|
Packit Service |
cbd1e2 |
## This file is included by the mkheader tool. Lines starting with
|
|
Packit Service |
cbd1e2 |
## a double hash mark are not copied to the destination file.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
typedef void *assuan_fd_t;
|
|
Packit Service |
cbd1e2 |
#define ASSUAN_INVALID_FD ((void*)(-1))
|
|
Packit Service |
cbd1e2 |
#define ASSUAN_INVALID_PID ((pid_t) -1)
|
|
Packit Service |
cbd1e2 |
static GPG_ERR_INLINE assuan_fd_t
|
|
Packit Service |
cbd1e2 |
assuan_fd_from_posix_fd (int fd)
|
|
Packit Service |
cbd1e2 |
{
|
|
Packit Service |
cbd1e2 |
return (assuan_fd_t)(fd);
|
|
Packit Service |
cbd1e2 |
}
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
##EOF##
|