Fix use of deprecated types, for now and the future.
[gnutls.git] / src / cfg / cmdline.h
blob2c2e782e6d4729e28662fe43c6d7d697e7d7c412
1 /*
2 * libcfg+ - precise command line & config file parsing library
4 * cmdline.h - command line parsing header file
5 * ____________________________________________________________
7 * Developed by Ondrej Jombik <nepto@platon.sk>
8 * and Lubomir Host <rajo@platon.sk>
9 * Copyright (c) 2001-2004 Platon SDG, http://platon.sk/
10 * All rights reserved.
12 * See README file for more information about this software.
13 * See COPYING file for license information.
15 * Download the latest version from
16 * http://platon.sk/projects/libcfg+/
19 /* $Platon: libcfg+/src/cmdline.h,v 1.13 2004/01/12 06:03:09 nepto Exp $ */
21 /**
22 * @file cmdline.h
23 * @brief command line parsing header file
24 * @author Ondrej Jombik <nepto@platon.sk>
25 * @author Lubomir Host <rajo@platon.sk>
26 * @version \$Platon: libcfg+/src/cmdline.h,v 1.13 2004/01/12 06:03:09 nepto Exp $
27 * @date 2001-2004
30 #ifndef _PLATON_CFG_CMDLINE_H
31 #define _PLATON_CFG_CMDLINE_H
33 /**
34 * Parse next command line option(s) and return its value (if non-zero)
35 * or error code.
37 * @param con initialized command line context
38 * @return next option val, code of error (CFG_ERROR_*)
39 * or CFG_OK on end
40 * @see cfg_error
41 * @see cfg_context
43 int cfg_cmdline_get_next_opt(const CFG_CONTEXT con);
45 #endif /* _PLATON_CFG_CMDLINE_H */