2021-08-08 09:38:33 +05:30
|
|
|
/* Declarations shared between the different POSIX-related modules */
|
|
|
|
|
|
|
|
#ifndef Py_POSIXMODULE_H
|
|
|
|
#define Py_POSIXMODULE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_SYS_TYPES_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
#ifndef MS_WINDOWS
|
|
|
|
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
|
|
|
|
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
|
|
|
|
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
|
|
|
|
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
|
|
|
|
#endif /* MS_WINDOWS */
|
|
|
|
#endif
|
|
|
|
|
2021-08-08 19:22:49 +05:30
|
|
|
#undef HAVE_SETGROUPS
|
|
|
|
#undef HAVE_FORKPTY
|
|
|
|
#undef HAVE_SCHED_SETPARAM
|
|
|
|
#undef HAVE_SCHED_SETSCHEDULER
|
|
|
|
#undef HAVE_FCHMODAT
|
|
|
|
#undef HAVE_LINKAT
|
|
|
|
#undef HAVE_READLINKAT
|
|
|
|
|
2021-08-08 09:38:33 +05:30
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_POSIXMODULE_H */
|