Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/saltstac.../salt/include
File: xcrypt.h
/* libxcrypt interfaces for code compatibility.
[0] Fix | Delete
[1] Fix | Delete
Copyright (C) 2018 Björn Esser <besser82@fedoraproject.org>
[2] Fix | Delete
[3] Fix | Delete
Redistribution and use in source and binary forms, with or without
[4] Fix | Delete
modification, are permitted.
[5] Fix | Delete
[6] Fix | Delete
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
[7] Fix | Delete
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[8] Fix | Delete
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[9] Fix | Delete
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
[10] Fix | Delete
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[11] Fix | Delete
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[12] Fix | Delete
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[13] Fix | Delete
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[14] Fix | Delete
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[15] Fix | Delete
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[16] Fix | Delete
SUCH DAMAGE. */
[17] Fix | Delete
[18] Fix | Delete
#ifndef _XCRYPT_H
[19] Fix | Delete
#define _XCRYPT_H 1
[20] Fix | Delete
[21] Fix | Delete
#include <crypt.h>
[22] Fix | Delete
[23] Fix | Delete
#include <sys/cdefs.h>
[24] Fix | Delete
[25] Fix | Delete
__BEGIN_DECLS
[26] Fix | Delete
[27] Fix | Delete
/* For backward compatibility with older versions (v3.1.1 and earlier)
[28] Fix | Delete
of libcrypt, this header declares xcrypt, xcrypt_r, xcrypt_gensalt,
[29] Fix | Delete
and xcrypt_gensalt_r as alternative names for crypt, crypt_r,
[30] Fix | Delete
crypt_gensalt, and crypt_gensalt_rn, respectively. If glibc's
[31] Fix | Delete
<sys/cdefs.h> macro __REDIRECT_NTH (which declares an alternative
[32] Fix | Delete
name at the object-file level) is available, we use it. */
[33] Fix | Delete
#ifdef __REDIRECT_NTH
[34] Fix | Delete
extern char * __REDIRECT_NTH (xcrypt, (const char *__phrase,
[35] Fix | Delete
const char *__setting), crypt);
[36] Fix | Delete
[37] Fix | Delete
extern char * __REDIRECT_NTH (xcrypt_r, (const char *__phrase,
[38] Fix | Delete
const char *__setting,
[39] Fix | Delete
struct crypt_data *__restrict __data), crypt_r);
[40] Fix | Delete
[41] Fix | Delete
extern char * __REDIRECT_NTH (xcrypt_gensalt, (const char *__prefix,
[42] Fix | Delete
unsigned long __count, const char *__rbytes,
[43] Fix | Delete
int __nrbytes), crypt_gensalt);
[44] Fix | Delete
[45] Fix | Delete
extern char * __REDIRECT_NTH (xcrypt_gensalt_r, (const char *__prefix,
[46] Fix | Delete
unsigned long __count, const char *__rbytes,
[47] Fix | Delete
int __nrbytes, char *__output,
[48] Fix | Delete
int __output_size), crypt_gensalt_rn);
[49] Fix | Delete
#else
[50] Fix | Delete
# define xcrypt crypt
[51] Fix | Delete
# define xcrypt_r crypt_r
[52] Fix | Delete
# define xcrypt_gensalt crypt_gensalt
[53] Fix | Delete
# define xcrypt_gensalt_r crypt_gensalt_rn
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
__END_DECLS
[57] Fix | Delete
[58] Fix | Delete
#endif /* xcrypt.h */
[59] Fix | Delete
[60] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function