Skip to content

Commit

Permalink
api key configuration system finished
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetmertguduz committed Jun 1, 2024
1 parent f83db80 commit 066c83a
Show file tree
Hide file tree
Showing 40 changed files with 1,031 additions and 402 deletions.
87 changes: 44 additions & 43 deletions docs/html/d0/de2/yiffy__messages_8h.html

Large diffs are not rendered by default.

40 changes: 36 additions & 4 deletions docs/html/d1/d33/yiffy__conf_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@
<div class="dyncontent">
<div class="center"><img src="../../d4/dc8/yiffy__conf_8h__dep__incl.png" border="0" usemap="#asrc_2conf_2yiffy__conf_8hdep" alt=""/></div>
<map name="asrc_2conf_2yiffy__conf_8hdep" id="asrc_2conf_2yiffy__conf_8hdep">
<area shape="rect" title="This header file is used to do configuration for yiffy." alt="" coords="255,5,407,32"/>
<area shape="rect" title="This header file is used to do configuration for yiffy." alt="" coords="346,5,498,32"/>
<area shape="rect" href="../../dc/dc0/yiffy_8c.html" title="This is the main file and used to handle the arguments and execute the program by using external func..." alt="" coords="5,87,116,114"/>
<area shape="rect" href="../../da/d93/conf__img__viewer__command_8c.html" title="This file is used to configures the image viewer command system, the image viewer command is used to ..." alt="" coords="140,80,328,121"/>
<area shape="rect" href="../../de/dfc/conf__nsfw_8c.html" title="This file is used to configure the NSFW option." alt="" coords="353,87,505,114"/>
<area shape="rect" href="../../d4/df4/conf__uname_8c.html" title="This file is used to configure the username option." alt="" coords="529,87,697,114"/>
<area shape="rect" href="../../d8/d99/conf__apikey_8c.html" title="This file is used to configure the api key option." alt="" coords="140,87,304,114"/>
<area shape="rect" href="../../da/d93/conf__img__viewer__command_8c.html" title="This file is used to configures the image viewer command system, the image viewer command is used to ..." alt="" coords="328,80,516,121"/>
<area shape="rect" href="../../de/dfc/conf__nsfw_8c.html" title="This file is used to configure the NSFW option." alt="" coords="541,87,693,114"/>
<area shape="rect" href="../../d4/df4/conf__uname_8c.html" title="This file is used to configure the username option." alt="" coords="717,87,885,114"/>
</map>
</div>
</div>
Expand All @@ -158,6 +159,9 @@
<tr class="memitem:af781b61b940b009361bf3c30a99637b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3">conf_uname</a> (char *argv)</td></tr>
<tr class="memdesc:af781b61b940b009361bf3c30a99637b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the username option. <a href="../../d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3">More...</a><br /></td></tr>
<tr class="separator:af781b61b940b009361bf3c30a99637b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682f26919e215e2a426005112694513a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d33/yiffy__conf_8h.html#a682f26919e215e2a426005112694513a">conf_apikey</a> (char *argv)</td></tr>
<tr class="memdesc:a682f26919e215e2a426005112694513a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the api key option. <a href="../../d1/d33/yiffy__conf_8h.html#a682f26919e215e2a426005112694513a">More...</a><br /></td></tr>
<tr class="separator:a682f26919e215e2a426005112694513a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >This header file is used to do configuration for yiffy. </p>
Expand All @@ -166,6 +170,34 @@

<p class="definition">Definition in file <a class="el" href="../../d1/d33/yiffy__conf_8h_source.html">yiffy_conf.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a682f26919e215e2a426005112694513a" name="a682f26919e215e2a426005112694513a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a682f26919e215e2a426005112694513a">&#9670;&nbsp;</a></span>conf_apikey()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void conf_apikey </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>argv</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">

<p>Configures the api key option. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">argv</td><td>This is the value that stores the api key. </td></tr>
</table>
</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d8/d99/conf__apikey_8c_source.html#l00031">31</a> of file <a class="el" href="../../d8/d99/conf__apikey_8c_source.html">conf_apikey.c</a>.</p>

</div>
</div>
<a id="a3ebba735c22a2c7fed2d6deeca8f1529" name="a3ebba735c22a2c7fed2d6deeca8f1529"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ebba735c22a2c7fed2d6deeca8f1529">&#9670;&nbsp;</a></span>conf_img_viewer_command()</h2>

Expand Down
1 change: 1 addition & 0 deletions docs/html/d1/d33/yiffy__conf_8h.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var yiffy__conf_8h =
[
[ "conf_apikey", "d1/d33/yiffy__conf_8h.html#a682f26919e215e2a426005112694513a", null ],
[ "conf_img_viewer_command", "d1/d33/yiffy__conf_8h.html#a3ebba735c22a2c7fed2d6deeca8f1529", null ],
[ "conf_nsfw", "d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6", null ],
[ "conf_uname", "d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3", null ]
Expand Down
6 changes: 4 additions & 2 deletions docs/html/d1/d33/yiffy__conf_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6">conf_nsfw</a>(<span class="keywordtype">char</span> *argv);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d33/yiffy__conf_8h.html#a3ebba735c22a2c7fed2d6deeca8f1529">conf_img_viewer_command</a>(<span class="keywordtype">char</span> *argv);</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3">conf_uname</a>(<span class="keywordtype">char</span> *argv);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#endif </span><span class="comment">/* YIFFY_CONF_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d33/yiffy__conf_8h.html#a682f26919e215e2a426005112694513a">conf_apikey</a>(<span class="keywordtype">char</span> *argv);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#endif </span><span class="comment">/* YIFFY_CONF_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="ayiffy__conf_8h_html_a3a088a9fbd8616175ff107d483ac33f6"><div class="ttname"><a href="../../d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6">conf_nsfw</a></div><div class="ttdeci">void conf_nsfw(char *argv)</div><div class="ttdoc">Configures the nsfw option.</div><div class="ttdef"><b>Definition:</b> <a href="../../de/dfc/conf__nsfw_8c_source.html#l00029">conf_nsfw.c:29</a></div></div>
<div class="ttc" id="ayiffy__conf_8h_html_a3ebba735c22a2c7fed2d6deeca8f1529"><div class="ttname"><a href="../../d1/d33/yiffy__conf_8h.html#a3ebba735c22a2c7fed2d6deeca8f1529">conf_img_viewer_command</a></div><div class="ttdeci">void conf_img_viewer_command(char *argv)</div><div class="ttdoc">Configures the image viewer command system, the image viewer command is used to show images on termin...</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d93/conf__img__viewer__command_8c_source.html#l00031">conf_img_viewer_command.c:31</a></div></div>
<div class="ttc" id="ayiffy__conf_8h_html_a682f26919e215e2a426005112694513a"><div class="ttname"><a href="../../d1/d33/yiffy__conf_8h.html#a682f26919e215e2a426005112694513a">conf_apikey</a></div><div class="ttdeci">void conf_apikey(char *argv)</div><div class="ttdoc">Configures the api key option.</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d99/conf__apikey_8c_source.html#l00031">conf_apikey.c:31</a></div></div>
<div class="ttc" id="ayiffy__conf_8h_html_af781b61b940b009361bf3c30a99637b3"><div class="ttname"><a href="../../d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3">conf_uname</a></div><div class="ttdeci">void conf_uname(char *argv)</div><div class="ttdoc">Configures the username option.</div><div class="ttdef"><b>Definition:</b> <a href="../../d4/df4/conf__uname_8c_source.html#l00031">conf_uname.c:31</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
Expand Down
2 changes: 1 addition & 1 deletion docs/html/d1/d70/no__arg__value__msg_8c_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> fprintf(stderr, <span class="stringliteral">&quot;yiffy: please enter the argument value for \&quot;%s\&quot;.\n&quot;</span>, argument);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> fprintf(stderr, <span class="stringliteral">&quot;yiffy: valid values for \&quot;%s\&quot; are on/off.\n&quot;</span>, argument);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> }</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strcmp(argument, <span class="stringliteral">&quot;--search&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--dfetch&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--fetch&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--ivcommand&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--uname&quot;</span>) == 0)</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (strcmp(argument, <span class="stringliteral">&quot;--search&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--dfetch&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--fetch&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--ivcommand&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--uname&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--apikey&quot;</span>) == 0)</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> fprintf(stderr, <span class="stringliteral">&quot;yiffy: please enter the search tags.\n&quot;</span>);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> fprintf(stderr, <span class="stringliteral">&quot;yiffy: prompt \&quot;man yiffy\&quot; to read the user manual.\n&quot;</span>);</div>
Expand Down
9 changes: 5 additions & 4 deletions docs/html/d4/dc8/yiffy__conf_8h__dep__incl.map
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<map id="src/conf/yiffy_conf.h" name="src/conf/yiffy_conf.h">
<area shape="rect" id="node1" title="This header file is used to do configuration for yiffy." alt="" coords="255,5,407,32"/>
<area shape="rect" id="node1" title="This header file is used to do configuration for yiffy." alt="" coords="346,5,498,32"/>
<area shape="rect" id="node2" href="$dc/dc0/yiffy_8c.html" title="This is the main file and used to handle the arguments and execute the program by using external func..." alt="" coords="5,87,116,114"/>
<area shape="rect" id="node3" href="$da/d93/conf__img__viewer__command_8c.html" title="This file is used to configures the image viewer command system, the image viewer command is used to ..." alt="" coords="140,80,328,121"/>
<area shape="rect" id="node4" href="$de/dfc/conf__nsfw_8c.html" title="This file is used to configure the NSFW option." alt="" coords="353,87,505,114"/>
<area shape="rect" id="node5" href="$d4/df4/conf__uname_8c.html" title="This file is used to configure the username option." alt="" coords="529,87,697,114"/>
<area shape="rect" id="node3" href="$d8/d99/conf__apikey_8c.html" title="This file is used to configure the api key option." alt="" coords="140,87,304,114"/>
<area shape="rect" id="node4" href="$da/d93/conf__img__viewer__command_8c.html" title="This file is used to configures the image viewer command system, the image viewer command is used to ..." alt="" coords="328,80,516,121"/>
<area shape="rect" id="node5" href="$de/dfc/conf__nsfw_8c.html" title="This file is used to configure the NSFW option." alt="" coords="541,87,693,114"/>
<area shape="rect" id="node6" href="$d4/df4/conf__uname_8c.html" title="This file is used to configure the username option." alt="" coords="717,87,885,114"/>
</map>
2 changes: 1 addition & 1 deletion docs/html/d4/dc8/yiffy__conf_8h__dep__incl.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1fc4c49339a9f8768a59ab1c903f3df4
7b219cd82ee6ac8b642792a6354633ee
Binary file modified docs/html/d4/dc8/yiffy__conf_8h__dep__incl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 066c83a

Please sign in to comment.