From: Kevin Day Date: Tue, 12 May 2020 03:14:20 +0000 (-0500) Subject: Update: add path.h headerr X-Git-Tag: 0.5.0~261 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=a0564f86ff12b8e0f7d519690593263192a0e175;p=fll Update: add path.h headerr --- diff --git a/build/level_0/settings b/build/level_0/settings index fbb80e7..acb13ed 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -14,7 +14,7 @@ build_libraries_fll build_libraries_fll-level build_sources_library console.c conversion.c directory.c private-directory.c file.c memory.c pipe.c print.c utf.c private-utf.c build_sources_program -build_sources_headers color.h console.h conversion.h directory.c file.h fss.h memory.h path_fll.h path_filesystem.h pipe.h print.h serialized.h socket.h status.h string.h type.h type_array.h utf.h +build_sources_headers color.h console.h conversion.h directory.c file.h fss.h memory.h path_fll.h path_filesystem.h path.h pipe.h print.h serialized.h socket.h status.h string.h type.h type_array.h utf.h build_shared yes build_static yes diff --git a/build/monolithic/settings b/build/monolithic/settings index 5482ae3..1eace14 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -13,7 +13,7 @@ build_libraries -lc build_libraries_fll build_sources_library level_0/console.c level_0/conversion.c level_0/directory.c level_0/private-directory.c level_0/file.c level_0/memory.c level_0/pipe.c level_0/print.c level_0/utf.c level_0/private-utf.c level_1/color.c level_1/console.c level_1/file.c level_1/fss.c level_1/fss_basic.c level_1/fss_basic_list.c level_1/fss_extended.c level_1/fss_extended_list.c level_1/print.c level_1/serialized.c level_1/private-serialized.c level_1/socket.c level_1/status.c level_1/string.c level_1/private-string.c level_1/utf.c level_1/private-utf.c level_1/utf_file.c level_2/directory.c level_2/execute.c level_2/private-execute.c level_2/file.c level_2/fss.c level_2/fss_basic.c level_2/fss_basic_list.c level_2/fss_extended.c level_2/fss_extended_list.c level_2/fss_status.c level_2/program.c level_2/status.c build_sources_program -build_sources_headers level_0/color.h level_0/console.h level_0/conversion.h level_0/directory.h level_0/file.h level_0/fss.h level_0/memory.h level_0/path_fll.h level_0/path_filesystem.h level_0/pipe.h level_0/print.h level_0/serialized.h level_0/socket.h level_0/status.h level_0/string.h level_0/type.h level_0/type_array.h level_0/utf.h level_1/color.h level_1/console.h level_1/file.h level_1/fss.h level_1/fss_basic.h level_1/fss_basic_list.h level_1/fss_status.h level_1/fss_extended.h level_1/fss_extended_list.h level_1/fss_macro.h level_1/print.h level_1/serialized.h level_1/socket.h level_1/status.h level_1/string.h level_1/utf.h level_1/utf_file.h level_2/directory.h level_2/execute.h level_2/file.h level_2/fss.h level_2/fss_basic.h level_2/fss_basic_list.h level_2/fss_extended.h level_2/fss_extended_list.h level_2/fss_status.h level_2/program.h level_2/status.h +build_sources_headers level_0/color.h level_0/console.h level_0/conversion.h level_0/directory.h level_0/file.h level_0/fss.h level_0/memory.h level_0/path_fll.h level_0/path_filesystem.h level_0/path.h level_0/pipe.h level_0/print.h level_0/serialized.h level_0/socket.h level_0/status.h level_0/string.h level_0/type.h level_0/type_array.h level_0/utf.h level_1/color.h level_1/console.h level_1/file.h level_1/fss.h level_1/fss_basic.h level_1/fss_basic_list.h level_1/fss_status.h level_1/fss_extended.h level_1/fss_extended_list.h level_1/fss_macro.h level_1/print.h level_1/serialized.h level_1/socket.h level_1/status.h level_1/string.h level_1/utf.h level_1/utf_file.h level_2/directory.h level_2/execute.h level_2/file.h level_2/fss.h level_2/fss_basic.h level_2/fss_basic_list.h level_2/fss_extended.h level_2/fss_extended_list.h level_2/fss_status.h level_2/program.h level_2/status.h build_sources_bash build_sources_settings build_shared yes diff --git a/level_0/f_path/c/path.h b/level_0/f_path/c/path.h new file mode 100644 index 0000000..5b7ff57 --- /dev/null +++ b/level_0/f_path/c/path.h @@ -0,0 +1,32 @@ +/** + * FLL - Level 0 + * + * Project: Path + * API Version: 0.5 + * Licenses: lgplv2.1 + * + * Provide path-related functionality. + */ +#ifndef _F_path_h +#define _F_path_h + +// fll-0 includes + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Standard path defines. + * + * The path separator must be a single 1-byte wide string. + */ +#ifndef _di_f_path_defines_ + #define f_path_separator "/" +#endif // _di_f_path_defines_ + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif // _F_path_h diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index ec2ed37..e57e32e 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -13,7 +13,7 @@ build_libraries build_libraries_fll build_sources_library build_sources_program -build_sources_headers path_fll.h path_filesystem.h +build_sources_headers path_fll.h path_filesystem.h path.h build_sources_bash build_sources_settings build_shared yes