-◆ MAX_FILE_PATH
+
+◆ FILE_PATH
- #define MAX_FILE_PATH 256 |
+ #define FILE_PATH 256 |
diff --git a/docs/html/dc/d3b/show__config_8c.js b/docs/html/dc/d3b/show__config_8c.js
index a55ba7cf..2403091a 100644
--- a/docs/html/dc/d3b/show__config_8c.js
+++ b/docs/html/dc/d3b/show__config_8c.js
@@ -1,7 +1,7 @@
var show__config_8c =
[
- [ "MAX_BUFFER_SIZE", "dc/d3b/show__config_8c.html#ad4d796b98c583d49e83adabd74a63bf6", null ],
- [ "MAX_FILE_PATH", "dc/d3b/show__config_8c.html#a263efd24d550124313df51247f07457a", null ],
+ [ "BUFFER_SIZE", "dc/d3b/show__config_8c.html#a6b20d41d6252e9871430c242cb1a56e7", null ],
+ [ "FILE_PATH", "dc/d3b/show__config_8c.html#af783caa0ab3eaa291b0af58fcb59d2b3", null ],
[ "show_config", "dc/d3b/show__config_8c.html#aca4794b6b6172dc0b0e6d6fba2297c58", null ],
[ "write_config_and_credentials", "dc/d3b/show__config_8c.html#a1c6d912ba0f7e4be13617b71c82ebe88", null ],
[ "write_configuration", "dc/d3b/show__config_8c.html#a8f75d697a10e581b438507be639c796b", null ],
diff --git a/docs/html/dc/d3b/show__config_8c_source.html b/docs/html/dc/d3b/show__config_8c_source.html
index d73fe0d1..dff6c1de 100644
--- a/docs/html/dc/d3b/show__config_8c_source.html
+++ b/docs/html/dc/d3b/show__config_8c_source.html
@@ -111,13 +111,13 @@
Go to the documentation of this file.
-
11#define MAX_FILE_PATH 256
-
12#define MAX_BUFFER_SIZE 512
+
+
12#define BUFFER_SIZE 512
14static char *home_directory;
-
-
+
+
@@ -156,7 +156,7 @@
55 fprintf(stdout,
"yiffy configurations (config.txt)\n");
56 fprintf(stdout,
"---------------------------------\n");
-
+
60 fprintf(stdout,
"- %s",
buffer);
@@ -181,7 +181,7 @@
81 fprintf(stdout,
"yiffy credentials (credentials.txt)\n");
82 fprintf(stdout,
"-----------------------------------\n");
-
+
86 fprintf(stdout,
"- %s",
buffer);
@@ -201,11 +201,11 @@
void file_open_error_msg()
Shows some information about file permissions when yiffy is not able to read file.
void no_home_error_msg()
Outputs the home not found error when application can not access the $HOME environment variable.
void write_config_and_credentials()
Writes config and credentials and prints a space between them.
-
#define MAX_FILE_PATH
This macro is used to set the default size for getting the home directory file.
void write_credentials()
Reads the credentials file and writes the credentials one by one.
+
#define BUFFER_SIZE
This macro is used to set the default size for reading the config file.
void write_configuration()
Reads the configuration file and writes the configs one by one.
void show_config()
Shows the yiffy configurations to user.
-
#define MAX_BUFFER_SIZE
This macro is used to set the default size for reading the config file.
+
#define FILE_PATH
This macro is used to set the default size for getting the home directory file.
diff --git a/docs/html/dc/dc0/yiffy_8c_source.html b/docs/html/dc/dc0/yiffy_8c_source.html
index 4a06f9ec..2ec9ab49 100644
--- a/docs/html/dc/dc0/yiffy_8c_source.html
+++ b/docs/html/dc/dc0/yiffy_8c_source.html
@@ -318,14 +318,14 @@
-void access_error_msg()
Checks the accessibility to the e621/e926 api.
+void access_error_msg()
Gives message about the accessibility to the e621/e926 api.
void argc_error_msg(int argc)
Evaluates the argument count and gives information if not in the requested format.
void conf_apikey(char *argv)
Configures the api key option.
void conf_img_viewer_command(char *argv)
Configures the image viewer command system, the image viewer command is used to show images on termin...
void conf_nsfw(char *argv)
Configures the nsfw option.
void conf_uname(char *argv)
Configures the username option.
-void fetch(char *tags, int page, char *command)
Reads the configuration file, sets the options and sends a request to e621-e926. After taking the res...
+void fetch(char *tags, int page, char *command)
Reads the configuration file, sets the options and sends a request to e621-e926. After taking the res...
void no_arg_value_msg(char *argument)
Outputs the correct prompt format when there is no argument value.
void on_off_msg(char *argument)
Outputs the correct argument value (on/off) for specified options.
void search(char *tags)
Creates a ncurses-based user interface to show, download, search and travel the e621/e926 by using cu...
diff --git a/docs/html/dc/dec/search_8c_source.html b/docs/html/dc/dec/search_8c_source.html
index f871ab09..02dce758 100644
--- a/docs/html/dc/dec/search_8c_source.html
+++ b/docs/html/dc/dec/search_8c_source.html
@@ -197,7 +197,7 @@
-
+
105 FILE *posts_json_file = fopen(
"posts.json",
"r");
@@ -277,7 +277,7 @@
-void aria2_download(char *tags, bool is_nsfw, char *uname, char *apikey, int page, int lim)
downloads the API response by using aria2c, works with a system call
+void aria2_download(char *tags, int page, int lim)
downloads the API response by using aria2c, works with a system call
void create_controls_window(WINDOW *window, int *posts_panel_height, control *controls, int total_controls)
Creates a new window to display the controls and adds it to the specified position.
void create_post_tags_window(WINDOW *window, int *posts_panel_height)
Creates a new window to display post tags and adds it to the specified position.
diff --git a/docs/html/dir_92db932c96b71876a62b1386c1d468d9.html b/docs/html/dir_92db932c96b71876a62b1386c1d468d9.html
index 7782787b..5e149a74 100644
--- a/docs/html/dir_92db932c96b71876a62b1386c1d468d9.html
+++ b/docs/html/dir_92db932c96b71876a62b1386c1d468d9.html
@@ -123,7 +123,7 @@
|
file | access_error_msg.c [code] |
- | This file is used to check the accessibility to the e621/e926 api.
|
+ | This file is used to give message about the accessibility to the e621/e926 api.
|
|
file | already_conf_msg.c [code] |
| This file is used to show some information when cjson root gives error.
|
@@ -174,6 +174,9 @@
file | posts_not_array_error_msg.c [code] |
| This file is used to output the error when the parsing is faced with an error in the posts section.
|
|
+file | set_credentials_error_msg.c [code] |
+ | This file is used to give message if the credentials are not set in the credentials file.
|
+ |
file | system_func_error_msg.c [code] |
| This file is used to show some information when system function did not worked.
|
|
diff --git a/docs/html/dir_92db932c96b71876a62b1386c1d468d9.js b/docs/html/dir_92db932c96b71876a62b1386c1d468d9.js
index 8f3871b0..fed60975 100644
--- a/docs/html/dir_92db932c96b71876a62b1386c1d468d9.js
+++ b/docs/html/dir_92db932c96b71876a62b1386c1d468d9.js
@@ -17,6 +17,7 @@ var dir_92db932c96b71876a62b1386c1d468d9 =
[ "on_off_msg.c", "d9/d8a/on__off__msg_8c.html", "d9/d8a/on__off__msg_8c" ],
[ "post_error_msg.c", "d4/d42/post__error__msg_8c.html", "d4/d42/post__error__msg_8c" ],
[ "posts_not_array_error_msg.c", "d0/d05/posts__not__array__error__msg_8c.html", "d0/d05/posts__not__array__error__msg_8c" ],
+ [ "set_credentials_error_msg.c", "d8/dbe/set__credentials__error__msg_8c.html", "d8/dbe/set__credentials__error__msg_8c" ],
[ "system_func_error_msg.c", "dc/d8f/system__func__error__msg_8c.html", "dc/d8f/system__func__error__msg_8c" ],
[ "unrecognized_arg_msg.c", "d7/de2/unrecognized__arg__msg_8c.html", "d7/de2/unrecognized__arg__msg_8c" ],
[ "window_create_error_msg.c", "d8/d12/window__create__error__msg_8c.html", "d8/d12/window__create__error__msg_8c" ],
diff --git a/docs/html/files.html b/docs/html/files.html
index 495ce7ec..f4501a86 100644
--- a/docs/html/files.html
+++ b/docs/html/files.html
@@ -135,7 +135,7 @@
show_version.c | This file is used to show version of the app to the user |
yiffy_text_menus.h | This header file is used to generate text based information menus for yiffy |
▼ msg | |
- access_error_msg.c | This file is used to check the accessibility to the e621/e926 api |
+ access_error_msg.c | This file is used to give message about the accessibility to the e621/e926 api |
already_conf_msg.c | This file is used to show some information when cjson root gives error |
argc_error_msg.c | This file is used to evaluate the argument count and give information if not in the requested format |
cjson_error_msg.c | This file is used to show some information when cjson root gives error |
@@ -153,20 +153,21 @@
on_off_msg.c | This file is used to output the correct argument value (on/off) for specified arguments |
post_error_msg.c | This file is used to output the error when the parsing is faced with an error in the post section |
posts_not_array_error_msg.c | This file is used to output the error when the parsing is faced with an error in the posts section |
- system_func_error_msg.c | This file is used to show some information when system function did not worked |
- unrecognized_arg_msg.c | This file is used to give information and output the command prompted by the user when it is not defined as a valid argument |
- window_create_error_msg.c | This file is used to give information about the window creation error |
- yiffy_messages.h | This file is used to handle error and information messages |
- ▼ search | |
- create_controls_window.c | This file is used to create a new window to display the controls and adds it to the specified position |
- create_post_tags_window.c | This file is used to create a new window to display post tags and adds it to the specified position |
- create_posts_window.c | This file is used to create a new window to display posts and adds it to the specified position |
- create_top_window.c | This file is used to create a new top window to display the title and SFW/NSFW status |
- init_ncurses.c | This file initializes and configures the ncurses library for the needed user interface |
- search.c | This file is used to interact with the terminal user interface version of yiffy, providing download, list, search, travel, and selected post tags features |
- set_window_title.c | This file is used to write title to the windows for the user interface |
- write_post.c | This file is used to write posts to the posts window |
- yiffy_search.h | This header file is used to handle the fetching and searching system |
+ set_credentials_error_msg.c | This file is used to give message if the credentials are not set in the credentials file |
+ system_func_error_msg.c | This file is used to show some information when system function did not worked |
+ unrecognized_arg_msg.c | This file is used to give information and output the command prompted by the user when it is not defined as a valid argument |
+ window_create_error_msg.c | This file is used to give information about the window creation error |
+ yiffy_messages.h | This file is used to handle error and information messages |
+ ▼ search | |
+ create_controls_window.c | This file is used to create a new window to display the controls and adds it to the specified position |
+ create_post_tags_window.c | This file is used to create a new window to display post tags and adds it to the specified position |
+ create_posts_window.c | This file is used to create a new window to display posts and adds it to the specified position |
+ create_top_window.c | This file is used to create a new top window to display the title and SFW/NSFW status |
+ init_ncurses.c | This file initializes and configures the ncurses library for the needed user interface |
+ search.c | This file is used to interact with the terminal user interface version of yiffy, providing download, list, search, travel, and selected post tags features |
+ set_window_title.c | This file is used to write title to the windows for the user interface |
+ write_post.c | This file is used to write posts to the posts window |
+ yiffy_search.h | This header file is used to handle the fetching and searching system |