Commit f247b81a authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Added declaration of function nmxptool_read_time()


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@934 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 24ca2872
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxptool_getoptlong.h,v 1.94 2008-03-19 12:55:46 mtheo Exp $ * $Id: nmxptool_getoptlong.h,v 1.95 2008-03-19 14:12:41 mtheo Exp $
* *
*/ */
...@@ -116,9 +116,19 @@ void nmxptool_usage(struct option long_options[]); ...@@ -116,9 +116,19 @@ void nmxptool_usage(struct option long_options[]);
* \param filename File name of state file * \param filename File name of state file
* *
* \retval Argument string for -C * \retval Argument string for -C
* */ */
char *get_channel_list_argument_from_state_file(const char *filename); char *get_channel_list_argument_from_state_file(const char *filename);
/*! \brief Convert a string TIME (ex. 1, 3m, 2h, 10d) in seconds
*
* \param str_input input string
* \param[out] pvalue value in seconds
*
* \return number of errors
*/
int nmxptool_read_time(char *str_input, int32_t *pvalue);
/*! \brief Calls getopt_long and set struct NMXPTOOL_PARAMS /*! \brief Calls getopt_long and set struct NMXPTOOL_PARAMS
* *
* \param argc * \param argc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment