![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Macros | |
#define | AMANDA_S_SMART_APE_SIZE ((100000)) |
#define | AMANDA__SIZE ((32767 * 6) + 2) |
#define | AMANDA__SIZE_w (32767) |
#define | Z_DEBUG |
Enumerations | |
enum | feline_modes { FELINE_MODE_NORMAL , FELINE_MODE_DELETE_ROOT , FELINE_MODE_DELETE_NODE } |
enum | funny_mode { FELINE_MODE_INCLUDE_ = 1001 , FELINE_MODE_EXCLUDE_ } |
enum | { MODE_IS_REPLACE__ , MODE_IS_COUNT__ } |
Functions | |
WCHAR * | amanda_utf8towide_3_ (char *pUTF8) |
char * | valquiria_wide_to_utf8_3_ (WCHAR *pUSC2_maria) |
wchar_t * | permissive_name_m_ (const wchar_t *wname) |
int | feline_read_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, char *attribute_____feline, char *out_data______feline) |
int | feline_write_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, char *attribute_____feline, char *in_data_______feline_) |
void | pedro_dprintf (int amanda_level, char *format,...) |
int __fastcall | replacestringsensitive2_juliete (char *comando, char *source, char *dest) |
int | feline_read_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, __attribute__((unused)) char *attribute_____feline, char *out_data______feline) |
int | feline_write_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, __attribute__((unused)) char *attribute_____feline, char *in_data_______feline_) |
int | feline_remove_root_xml (char *filename_utf8_feline, char *root__________feline) |
int | feline_remove_node_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline) |
void | strncpy_z (char *dest_z, char *src_z, size_t len) |
char * | getyear_my_love (void) |
__int64 | getfilesize_ar_may_fail_amanda_s_smart_ape (char *infile_ar) |
int __stdcall | write_xml_z_amanda_s_smart_ape (char *filename_amanda_s_smart_ape, char *key_name_z, char *data_z) |
int __stdcall | read_xml_z_amanda_s_smart_ape (char *filename_amanda_s_smart_ape, char *key_name_z, char *data_z, int output_len_z) |
int | main (int argc_amanda_s_smart_ape, char **argv_amanda_s_smart_ape) |
Variables | |
char | copyleft_cirkut [] |
#define AMANDA__SIZE ((32767 * 6) + 2) |
The maximum size of an utf-8 encoded filename with the max limit of a file in Windows
#define AMANDA__SIZE_w (32767) |
The maximum size of Unicode characters in a path in Windows, Linux is 1024 characters as far I know
#define AMANDA_S_SMART_APE_SIZE ((100000)) |
#define Z_DEBUG |
enum feline_modes |
enum funny_mode |
WCHAR * amanda_utf8towide_3_ | ( | char * | pUTF8 | ) |
To convert an utf-8 encoded filename to a wide string (WCHAR *), we . provide two functions that are exactly the same because someone may use it in multi-thread code
pUTF8 | the input utf-8 encoded filename |
int feline_read_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline, | ||
char * | node__________feline, | ||
__attribute__((unused)) char * | attribute_____feline, | ||
char * | out_data______feline ) |
To remove the end of string spaces including \r
and \t Function to get our modified and limited xml implemented file... in 2021
filename_utf8_feline | the XML file as utf-8 |
attribute_____feline | the attibute to get, not implemented...but will in a near future |
node__________feline | the node |
out_data______feline | the output char * need to have space enough for the data or an memory access error can occur |
int feline_read_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline, | ||
char * | node__________feline, | ||
char * | attribute_____feline, | ||
char * | out_data______feline ) |
Function to get our modified and limited xml implemented file... in 2021
filename_utf8_feline | the XML file as utf-8 |
attribute_____feline | the attibute to get, not implemented...but will in a near future |
node__________feline | the node |
out_data______feline | the output char * need to have space enough for the data or an memory access error can occur |
int feline_remove_node_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline, | ||
char * | node__________feline ) |
Function to remove a node if you are a clean programmer...
filename_utf8_feline | the XML file |
root__________feline | the root |
node__________feline | the node to get rid from the XML file |
int feline_remove_root_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline ) |
Function to remove a node if you need to do it...
filename_utf8_feline | the XML file |
root__________feline | the root |
int feline_write_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline, | ||
char * | node__________feline, | ||
__attribute__((unused)) char * | attribute_____feline, | ||
char * | in_data_______feline_ ) |
Function to write XML file
filename_utf8_feline | the XML file... |
root__________feline | the root, if it don´t exist it will be created |
node__________feline | the node, if it don´t exist it will be created |
attribute_____feline | the attibute, not in use in this version but will in the future |
@ in_data_______feline_ the input data to convert and save to the not standard XML file
int feline_write_xml | ( | char * | filename_utf8_feline, |
char * | root__________feline, | ||
char * | node__________feline, | ||
char * | attribute_____feline, | ||
char * | in_data_______feline_ ) |
Function to write XML file
filename_utf8_feline | the XML file... |
root__________feline | the root, if it don´t exist it will be created |
node__________feline | the node, if it don´t exist it will be created |
attribute_____feline | the attibute, not in use in this version but will in the future |
@ in_data_______feline_ the input data to convert and save to the not standard XML file
__int64 getfilesize_ar_may_fail_amanda_s_smart_ape | ( | char * | infile_ar | ) |
To get the file size, filename is utf-8
infile_ar | the input file |
char * getyear_my_love | ( | void | ) |
void pedro_dprintf | ( | int | amanda_level, |
char * | format, | ||
... ) |
wchar_t * permissive_name_m_ | ( | const wchar_t * | wname | ) |
To make the path wide mode aware, stolen from libarchive
15/september/2021 10:14, last visit 16/09/2021 22:36 by bhond..., last visit 21/sep/2021 03:57...
int __stdcall read_xml_z_amanda_s_smart_ape | ( | char * | filename_amanda_s_smart_ape, |
char * | key_name_z, | ||
char * | data_z, | ||
int | output_len_z ) |
int __fastcall replacestringsensitive2_juliete | ( | char * | comando, |
char * | source, | ||
char * | dest ) |
void strncpy_z | ( | char * | dest_z, |
char * | src_z, | ||
size_t | len ) |
My fixed strncpy
char * valquiria_wide_to_utf8_3_ | ( | WCHAR * | pUSC2_maria | ) |
To convert an input wide string to a utf-8 encoded filename on return
pUSC2_maria | the wide string to be converted |
int __stdcall write_xml_z_amanda_s_smart_ape | ( | char * | filename_amanda_s_smart_ape, |
char * | key_name_z, | ||
char * | data_z ) |
char copyleft_cirkut[] |