aboutsummaryrefslogtreecommitdiffhomepage
path: root/fishd.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-25 01:26:25 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-25 01:26:25 +1000
commit277f9b7e607e40ee84ac5c59fcc878d34cb586e2 (patch)
treedba9925930f8f011dda4b603919b3e0e38bea85c /fishd.c
parentf8de9de13de17a4dadab7d2fb1c2094c6a5b105c (diff)
Huge API documentation cleanup
darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
Diffstat (limited to 'fishd.c')
-rw-r--r--fishd.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/fishd.c b/fishd.c
index bdeb3dd8..7e4f7a7b 100644
--- a/fishd.c
+++ b/fishd.c
@@ -350,12 +350,17 @@ void load_or_save( int save)
close( c.fd );
}
+/**
+ Load variables from disk
+*/
static void load()
{
load_or_save(0);
}
-
+/**
+ Save variables to disk
+*/
static void save()
{
load_or_save(1);
@@ -376,7 +381,9 @@ static void init()
load();
}
-
+/**
+ Main function for fishd
+*/
int main( int argc, char ** argv )
{
int child_socket, t;