diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-21 23:54:40 +0200 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-21 23:54:40 +0200 |
commit | a54273639f6afd659c15326cb997922fcecfe89a (patch) | |
tree | 3f240fed8fcfd7f14cbc5b7d059f48f6eb9707cb /options.h | |
parent | 59f4d4d2b67028c01f41ea0de0f12934b4fad07b (diff) |
Moved the code to GCS
Now the code is (hopefully) compliant with GNU Coding Standards.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1,10 +1,10 @@ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*options.h*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*Declarations for parsing the command line switches*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*Based on the code of unionfs translator.*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*Copyright (C) 2001, 2002, 2005, 2008 Free Software Foundation, Inc. Written by Sergiu Ivanov <unlimitedscolobb@gmail.com>. @@ -22,34 +22,34 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ #ifndef __OPTIONS_H__ #define __OPTIONS_H__ -/*----------------------------------------------------------------------------*/ -/*--------Macros--------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ +/*--------Macros-------------------------------------------------------------*/ /*The possible short options*/ #define OPT_CACHE_SIZE 'c' -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*The corresponding long options*/ #define OPT_LONG_CACHE_SIZE "cache-size" -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*Makes a long option out of option name*/ #define OPT_LONG(o) "--"o -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ -/*----------------------------------------------------------------------------*/ -/*--------Global Variables----------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ +/*--------Global Variables---------------------------------------------------*/ /*The argp parser for startup arguments*/ extern struct argp argp_startup; -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*The argp parser for rutime arguments*/ extern struct argp argp_runtime; -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*The number of nodes in cache (see ncache.{c,h})*/ extern int ncache_size; -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*The directory to mirror*/ -extern char * dir; -/*----------------------------------------------------------------------------*/ +extern char *dir; +/*---------------------------------------------------------------------------*/ #endif /*__OPTIONS_H__*/ |