Skip to content

Commit

Permalink
username initialization system finished
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetmertguduz committed Jun 1, 2024
1 parent a1deb2a commit f83db80
Show file tree
Hide file tree
Showing 45 changed files with 1,047 additions and 422 deletions.
85 changes: 43 additions & 42 deletions docs/html/d0/de2/yiffy__messages_8h.html

Large diffs are not rendered by default.

38 changes: 35 additions & 3 deletions docs/html/d1/d33/yiffy__conf_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@
<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="158,5,310,32"/>
<area shape="rect" title="This header file is used to do configuration for yiffy." alt="" coords="255,5,407,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"/>
</map>
</div>
</div>
Expand All @@ -149,11 +150,14 @@
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3a088a9fbd8616175ff107d483ac33f6"><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#a3a088a9fbd8616175ff107d483ac33f6">conf_nsfw</a> (char *argv)</td></tr>
<tr class="memdesc:a3a088a9fbd8616175ff107d483ac33f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the nsfw NSFW option. <a href="../../d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6">More...</a><br /></td></tr>
<tr class="memdesc:a3a088a9fbd8616175ff107d483ac33f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the nsfw option. <a href="../../d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6">More...</a><br /></td></tr>
<tr class="separator:a3a088a9fbd8616175ff107d483ac33f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ebba735c22a2c7fed2d6deeca8f1529"><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#a3ebba735c22a2c7fed2d6deeca8f1529">conf_img_viewer_command</a> (char *argv)</td></tr>
<tr class="memdesc:a3ebba735c22a2c7fed2d6deeca8f1529"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the image viewer command system, the image viewer command is used to show images on terminal in search function. <a href="../../d1/d33/yiffy__conf_8h.html#a3ebba735c22a2c7fed2d6deeca8f1529">More...</a><br /></td></tr>
<tr class="separator:a3ebba735c22a2c7fed2d6deeca8f1529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
</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 Down Expand Up @@ -206,7 +210,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a3a088a9fbd8616175ff107d4
</table>
</div><div class="memdoc">

<p>Configures the nsfw NSFW option. </p>
<p>Configures the nsfw 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 on/off. </td></tr>
Expand All @@ -216,6 +220,34 @@ <h2 class="memtitle"><span class="permalink"><a href="#a3a088a9fbd8616175ff107d4

<p class="definition">Definition at line <a class="el" href="../../de/dfc/conf__nsfw_8c_source.html#l00029">29</a> of file <a class="el" href="../../de/dfc/conf__nsfw_8c_source.html">conf_nsfw.c</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void conf_uname </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 username 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 username. </td></tr>
</table>
</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d4/df4/conf__uname_8c_source.html#l00031">31</a> of file <a class="el" href="../../d4/df4/conf__uname_8c_source.html">conf_uname.c</a>.</p>

</div>
</div>
</div><!-- contents -->
Expand Down
3 changes: 2 additions & 1 deletion 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_img_viewer_command", "d1/d33/yiffy__conf_8h.html#a3ebba735c22a2c7fed2d6deeca8f1529", null ],
[ "conf_nsfw", "d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6", null ]
[ "conf_nsfw", "d1/d33/yiffy__conf_8h.html#a3a088a9fbd8616175ff107d483ac33f6", null ],
[ "conf_uname", "d1/d33/yiffy__conf_8h.html#af781b61b940b009361bf3c30a99637b3", null ]
];
8 changes: 5 additions & 3 deletions docs/html/d1/d33/yiffy__conf_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,12 @@
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<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> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</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 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="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="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_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 -->
<!-- start footer part -->
Expand Down
4 changes: 2 additions & 2 deletions docs/html/d1/d70/no__arg__value__msg_8c_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="../../d1/d70/no__arg__value__msg_8c.html#a2104c256bb9f09a63fb38bc5ff530eca"> 18</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/d70/no__arg__value__msg_8c.html#a2104c256bb9f09a63fb38bc5ff530eca">no_arg_value_msg</a>(<span class="keywordtype">char</span> *argument)</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>{</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordflow">if</span> (strcmp(argument, <span class="stringliteral">&quot;--wgen&quot;</span>) == 0 || strcmp(argument, <span class="stringliteral">&quot;--nsfw&quot;</span>) == 0)</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keywordflow">if</span> (strcmp(argument, <span class="stringliteral">&quot;--nsfw&quot;</span>) == 0)</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> {</div>
<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)</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="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: 9 additions & 0 deletions docs/html/d2/d7d/conf__uname_8c__incl.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<map id="src/conf/conf_uname.c" name="src/conf/conf_uname.c">
<area shape="rect" id="node1" title="This file is used to configure the username option." alt="" coords="24,5,192,32"/>
<area shape="rect" id="node2" href="$d1/d33/yiffy__conf_8h.html" title="This header file is used to do configuration for yiffy." alt="" coords="60,80,157,107"/>
<area shape="rect" id="node3" title=" " alt="" coords="70,229,136,256"/>
<area shape="rect" id="node4" title=" " alt="" coords="22,155,93,181"/>
<area shape="rect" id="node5" title=" " alt="" coords="118,155,200,181"/>
<area shape="rect" id="node6" href="$d0/de2/yiffy__messages_8h.html" title="This file is used to handle error and information messages." alt="" coords="225,155,405,181"/>
<area shape="rect" id="node7" title=" " alt="" coords="280,229,350,256"/>
</map>
1 change: 1 addition & 0 deletions docs/html/d2/d7d/conf__uname_8c__incl.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
02654d27f070b90d012eceb9db28fb2c
Binary file added docs/html/d2/d7d/conf__uname_8c__incl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/html/d4/dc8/yiffy__conf_8h__dep__incl.map
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<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="158,5,310,32"/>
<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="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"/>
</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 @@
c8415c042b2a551534932d04be94c7ab
1fc4c49339a9f8768a59ab1c903f3df4
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 f83db80

Please sign in to comment.