mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
86abb4c4bd
Clearly, listconfigs shouldn't list these. Also, hoist the opt_hidden check since it's independent of whether there's an arg or not. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
396 B
C
17 lines
396 B
C
#ifndef LIGHTNING_COMMON_VERSION_H
|
|
#define LIGHTNING_COMMON_VERSION_H
|
|
#include "config.h"
|
|
#include <stdbool.h>
|
|
|
|
/* Add --version|-V option */
|
|
void opt_register_version(void);
|
|
|
|
const char *version(void);
|
|
/* check if the current version is a release version.
|
|
*
|
|
* Released versions are of form v[year].[month]?(.patch)* */
|
|
bool is_released_version(void);
|
|
|
|
|
|
#endif /* LIGHTNING_COMMON_VERSION_H */
|