Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include
File: gshadow.h
/* Copyright (C) 2009-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
/* Declaration of types and functions for shadow group suite. */
[17] Fix | Delete
[18] Fix | Delete
#ifndef _GSHADOW_H
[19] Fix | Delete
#define _GSHADOW_H 1
[20] Fix | Delete
[21] Fix | Delete
#include <features.h>
[22] Fix | Delete
#include <paths.h>
[23] Fix | Delete
#include <bits/types/FILE.h>
[24] Fix | Delete
[25] Fix | Delete
#define __need_size_t
[26] Fix | Delete
#include <stddef.h>
[27] Fix | Delete
[28] Fix | Delete
/* Path to the user database files. */
[29] Fix | Delete
#define GSHADOW _PATH_GSHADOW
[30] Fix | Delete
[31] Fix | Delete
[32] Fix | Delete
__BEGIN_DECLS
[33] Fix | Delete
[34] Fix | Delete
/* Structure of the group file. */
[35] Fix | Delete
struct sgrp
[36] Fix | Delete
{
[37] Fix | Delete
char *sg_namp; /* Group name. */
[38] Fix | Delete
char *sg_passwd; /* Encrypted password. */
[39] Fix | Delete
char **sg_adm; /* Group administrator list. */
[40] Fix | Delete
char **sg_mem; /* Group member list. */
[41] Fix | Delete
};
[42] Fix | Delete
[43] Fix | Delete
[44] Fix | Delete
/* Open database for reading.
[45] Fix | Delete
[46] Fix | Delete
This function is not part of POSIX and therefore no official
[47] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[48] Fix | Delete
or due to the implementation it is a cancellation point and
[49] Fix | Delete
therefore not marked with __THROW. */
[50] Fix | Delete
extern void setsgent (void);
[51] Fix | Delete
[52] Fix | Delete
/* Close database.
[53] Fix | Delete
[54] Fix | Delete
This function is not part of POSIX and therefore no official
[55] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[56] Fix | Delete
or due to the implementation it is a cancellation point and
[57] Fix | Delete
therefore not marked with __THROW. */
[58] Fix | Delete
extern void endsgent (void);
[59] Fix | Delete
[60] Fix | Delete
/* Get next entry from database, perhaps after opening the file.
[61] Fix | Delete
[62] Fix | Delete
This function is not part of POSIX and therefore no official
[63] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[64] Fix | Delete
or due to the implementation it is a cancellation point and
[65] Fix | Delete
therefore not marked with __THROW. */
[66] Fix | Delete
extern struct sgrp *getsgent (void);
[67] Fix | Delete
[68] Fix | Delete
/* Get shadow entry matching NAME.
[69] Fix | Delete
[70] Fix | Delete
This function is not part of POSIX and therefore no official
[71] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[72] Fix | Delete
or due to the implementation it is a cancellation point and
[73] Fix | Delete
therefore not marked with __THROW. */
[74] Fix | Delete
extern struct sgrp *getsgnam (const char *__name);
[75] Fix | Delete
[76] Fix | Delete
/* Read shadow entry from STRING.
[77] Fix | Delete
[78] Fix | Delete
This function is not part of POSIX and therefore no official
[79] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[80] Fix | Delete
or due to the implementation it is a cancellation point and
[81] Fix | Delete
therefore not marked with __THROW. */
[82] Fix | Delete
extern struct sgrp *sgetsgent (const char *__string);
[83] Fix | Delete
[84] Fix | Delete
/* Read next shadow entry from STREAM.
[85] Fix | Delete
[86] Fix | Delete
This function is not part of POSIX and therefore no official
[87] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[88] Fix | Delete
or due to the implementation it is a cancellation point and
[89] Fix | Delete
therefore not marked with __THROW. */
[90] Fix | Delete
extern struct sgrp *fgetsgent (FILE *__stream);
[91] Fix | Delete
[92] Fix | Delete
/* Write line containing shadow password entry to stream.
[93] Fix | Delete
[94] Fix | Delete
This function is not part of POSIX and therefore no official
[95] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[96] Fix | Delete
or due to the implementation it is a cancellation point and
[97] Fix | Delete
therefore not marked with __THROW. */
[98] Fix | Delete
extern int putsgent (const struct sgrp *__g, FILE *__stream);
[99] Fix | Delete
[100] Fix | Delete
[101] Fix | Delete
#ifdef __USE_MISC
[102] Fix | Delete
/* Reentrant versions of some of the functions above.
[103] Fix | Delete
[104] Fix | Delete
These functions are not part of POSIX and therefore no official
[105] Fix | Delete
cancellation point. But due to similarity with an POSIX interface
[106] Fix | Delete
or due to the implementation they are cancellation points and
[107] Fix | Delete
therefore not marked with __THROW. */
[108] Fix | Delete
extern int getsgent_r (struct sgrp *__result_buf, char *__buffer,
[109] Fix | Delete
size_t __buflen, struct sgrp **__result);
[110] Fix | Delete
[111] Fix | Delete
extern int getsgnam_r (const char *__name, struct sgrp *__result_buf,
[112] Fix | Delete
char *__buffer, size_t __buflen,
[113] Fix | Delete
struct sgrp **__result);
[114] Fix | Delete
[115] Fix | Delete
extern int sgetsgent_r (const char *__string, struct sgrp *__result_buf,
[116] Fix | Delete
char *__buffer, size_t __buflen,
[117] Fix | Delete
struct sgrp **__result);
[118] Fix | Delete
[119] Fix | Delete
extern int fgetsgent_r (FILE *__stream, struct sgrp *__result_buf,
[120] Fix | Delete
char *__buffer, size_t __buflen,
[121] Fix | Delete
struct sgrp **__result);
[122] Fix | Delete
#endif /* misc */
[123] Fix | Delete
[124] Fix | Delete
__END_DECLS
[125] Fix | Delete
[126] Fix | Delete
#endif /* gshadow.h */
[127] Fix | Delete
[128] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function