source: rtems/cpukit/libcsupport/src/pwdgrp.h @ 1c6926c1

5
Last change on this file since 1c6926c1 was b471854b, checked in by Sebastian Huber <sebastian.huber@…>, on 11/14/14 at 10:01:48

libcsupport: Split passwd/group support

  • Property mode set to 100644
File size: 843 bytes
Line 
1/*
2 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef _RTEMS_LIBCSUPPORT_PWDGRP_H
16#define _RTEMS_LIBCSUPPORT_PWDGRP_H
17
18#include <grp.h>
19#include <pwd.h>
20#include <stdio.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif /* __cplusplus */
25
26void _libcsupport_pwdgrp_init(void);
27
28int _libcsupport_scanpw(
29  FILE *fp,
30  struct passwd *pwd,
31  char *buffer,
32  size_t bufsize
33);
34
35int _libcsupport_scangr(
36  FILE *fp,
37  struct group *grp,
38  char *buffer,
39  size_t bufsize
40);
41
42#ifdef __cplusplus
43}
44#endif /* __cplusplus */
45
46#endif /* _RTEMS_LIBCSUPPORT_PWDGRP_H */
Note: See TracBrowser for help on using the repository browser.