__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* base64 encoder/decoder based on public domain implementation
* by Chris Venter */
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/* returns malloced base64 encoded string
* lines are split with \n characters to be nearest lower multiple of linelen
* if linelen/4 == 0 lines are not split
* if linelen < 0 default line length (64) is used
* the returned string is empty when len == 0
* returns NULL on failures
*/
char *rpmBase64Encode(const void *data, size_t len, int linelen);
/* decodes from zero terminated base64 encoded string to a newly malloced buffer
* ignores whitespace characters in the input string
* return values:
* 0 - OK
* 1 - input is NULL
* 2 - invalid length
* 3 - invalid characters on input
* 4 - malloc failed
*/
int rpmBase64Decode(const char *in, void **out, size_t *outlen);
/* counts CRC24 and base64 encodes it in a malloced string
* returns NULL on failures
*/
char *rpmBase64CRC(const unsigned char *data, size_t len);
#ifdef __cplusplus
}
#endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| argv.h | File | 4.11 KB | 0644 |
|
| header.h | File | 13.37 KB | 0644 |
|
| rpmbase64.h | File | 1023 B | 0644 |
|
| rpmbuild.h | File | 3.28 KB | 0644 |
|
| rpmcallback.h | File | 1.38 KB | 0644 |
|
| rpmcli.h | File | 12.45 KB | 0644 |
|
| rpmdb.h | File | 6.15 KB | 0644 |
|
| rpmds.h | File | 11.61 KB | 0644 |
|
| rpmfc.h | File | 2.44 KB | 0644 |
|
| rpmfi.h | File | 13.02 KB | 0644 |
|
| rpmfileutil.h | File | 5.04 KB | 0644 |
|
| rpmio.h | File | 2.21 KB | 0644 |
|
| rpmkeyring.h | File | 2.59 KB | 0644 |
|
| rpmlegacy.h | File | 7.5 KB | 0644 |
|
| rpmlib.h | File | 5.34 KB | 0644 |
|
| rpmlog.h | File | 8.48 KB | 0644 |
|
| rpmmacro.h | File | 4.21 KB | 0644 |
|
| rpmpgp.h | File | 46.34 KB | 0644 |
|
| rpmpol.h | File | 388 B | 0644 |
|
| rpmprob.h | File | 4.67 KB | 0644 |
|
| rpmps.h | File | 2.29 KB | 0644 |
|
| rpmsign.h | File | 740 B | 0644 |
|
| rpmspec.h | File | 2.21 KB | 0644 |
|
| rpmsq.h | File | 1.34 KB | 0644 |
|
| rpmstring.h | File | 4.08 KB | 0644 |
|
| rpmstrpool.h | File | 3.83 KB | 0644 |
|
| rpmsw.h | File | 2.09 KB | 0644 |
|
| rpmtag.h | File | 20.22 KB | 0644 |
|
| rpmtd.h | File | 12.21 KB | 0644 |
|
| rpmte.h | File | 6.45 KB | 0644 |
|
| rpmts.h | File | 16.8 KB | 0644 |
|
| rpmtypes.h | File | 2.49 KB | 0644 |
|
| rpmurl.h | File | 1.11 KB | 0644 |
|
| rpmutil.h | File | 4.68 KB | 0644 |
|
| rpmvf.h | File | 3.98 KB | 0644 |
|