getsocketpeer.h 430 B

12345678910111213141516
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright (C) 2007 Red Hat, Inc.
  3. * All rights reserved.
  4. *
  5. * License: GPL (version 3 or any later version).
  6. * See LICENSE for details.
  7. * END COPYRIGHT BLOCK **/
  8. #ifdef HAVE_CONFIG_H
  9. # include <config.h>
  10. #endif
  11. #if defined(ENABLE_LDAPI)
  12. #if !defined(GETSOCKETPEER_H)
  13. #define GETSOCKETPEER_H
  14. int slapd_get_socket_peer(PRFileDesc *nspr_fd, uid_t *uid, gid_t *gid);
  15. #endif
  16. #endif /* ENABLE_LDAPI */