/usr/i686-w64-mingw32/include/winber.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _WINBER_DEFINED_
#define _WINBER_DEFINED_
#include "winldap.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef WINBERAPI
#define WINBERAPI DECLSPEC_IMPORT
#endif
#ifndef BERAPI
#define BERAPI __cdecl
#endif
#define LBER_ERROR 0xffffffffL
#define LBER_DEFAULT 0xffffffffL
typedef unsigned int ber_tag_t;
typedef int ber_int_t;
typedef unsigned int ber_uint_t;
typedef int ber_slen_t;
WINBERAPI BerElement *BERAPI ber_init(BERVAL *pBerVal);
WINBERAPI VOID BERAPI ber_free(BerElement *pBerElement,INT fbuf);
WINBERAPI VOID BERAPI ber_bvfree(BERVAL *pBerVal);
WINBERAPI VOID BERAPI ber_bvecfree(PBERVAL *pBerVal);
WINBERAPI BERVAL *BERAPI ber_bvdup(BERVAL *pBerVal);
WINBERAPI BerElement *BERAPI ber_alloc_t(INT options);
WINBERAPI ULONG BERAPI ber_skip_tag(BerElement *pBerElement,ULONG *pLen);
WINBERAPI ULONG BERAPI ber_peek_tag(BerElement *pBerElement,ULONG *pLen);
WINBERAPI ULONG BERAPI ber_first_element(BerElement *pBerElement,ULONG *pLen,CHAR **ppOpaque);
WINBERAPI ULONG BERAPI ber_next_element(BerElement *pBerElement,ULONG *pLen,CHAR *opaque);
WINBERAPI INT BERAPI ber_flatten(BerElement *pBerElement,PBERVAL *pBerVal);
WINBERAPI INT BERAPI ber_printf(BerElement *pBerElement,PCHAR fmt,...);
WINBERAPI ULONG BERAPI ber_scanf(BerElement *pBerElement,PCHAR fmt,...);
#ifdef __cplusplus
}
#endif
#endif
|