You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
553 B

  1. /* Declarations shared between the different POSIX-related modules */
  2. #ifndef Py_POSIXMODULE_H
  3. #define Py_POSIXMODULE_H
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifdef HAVE_SYS_TYPES_H
  8. #include <sys/types.h>
  9. #endif
  10. #ifndef Py_LIMITED_API
  11. #ifndef MS_WINDOWS
  12. PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
  13. PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
  14. PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
  15. PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
  16. #endif /* MS_WINDOWS */
  17. #endif
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* !Py_POSIXMODULE_H */