configure version major/minor derived from git
Remove compile-time COMPAT_6_5 and IDENTITYREF_KLUDGE
This commit is contained in:
parent
7aac03ba5e
commit
3e07a1d279
12 changed files with 23 additions and 119 deletions
|
|
@ -119,15 +119,4 @@ int clixon_err_exit(void);
|
|||
/* doesnt work if arg != NULL */
|
||||
#define clixon_netconf_error(h, x, f, a) clixon_err_fn((h), __FUNCTION__, __LINE__, OE_XML, 0,(x), (f))
|
||||
|
||||
#if 1 /* COMPAT_6_5 */
|
||||
#define clicon_err(c,s,_fmt, args...) clixon_err_fn(NULL, __FUNCTION__, __LINE__, (c), (s), NULL, _fmt , ##args)
|
||||
#define clicon_err_reset() clixon_err_reset()
|
||||
|
||||
#define clicon_errno clixon_err_category()
|
||||
#define clicon_suberrno clixon_err_subnr()
|
||||
#define clicon_err_reason clixon_err_reason()
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _CLIXON_ERR_H_ */
|
||||
|
|
|
|||
|
|
@ -92,11 +92,4 @@ struct event_stream;
|
|||
int clicon_stream_set(clixon_handle h, struct event_stream *es);
|
||||
int clicon_stream_append(clixon_handle h, struct event_stream *es);
|
||||
|
||||
/* COMPAT_6_5 */
|
||||
#if 1
|
||||
typedef void *clicon_handle;
|
||||
#define clicon_handle_init() clixon_handle_init()
|
||||
#define clicon_handle_exit(h) clixon_handle_exit(h)
|
||||
#endif
|
||||
|
||||
#endif /* _CLIXON_HANDLE_H_ */
|
||||
|
|
|
|||
|
|
@ -83,19 +83,4 @@ int clixon_get_logflags(void);
|
|||
int clixon_log_str(int level, char *msg);
|
||||
int clixon_log_fn(clixon_handle h, int user, int level, cxobj *x, const char *format, ...) __attribute__ ((format (printf, 5, 6)));
|
||||
|
||||
#if 1 /* COMPAT_6_5 */
|
||||
#define CLICON_LOG_SYSLOG CLIXON_LOG_SYSLOG
|
||||
#define CLICON_LOG_STDERR CLIXON_LOG_STDERR
|
||||
#define CLICON_LOG_STDOUT CLIXON_LOG_STDOUT
|
||||
#define CLICON_LOG_FILE CLIXON_LOG_FILE
|
||||
|
||||
#define clicon_log(l, f, args...) clixon_log(NULL, (l), (f), ##args)
|
||||
#define clicon_log_exit() clixon_log_exit()
|
||||
#define clicon_log_opt(c) clixon_log_opt((c))
|
||||
#define clicon_log_file(f) clixon_log_file((f))
|
||||
|
||||
int clicon_log_init(char *ident, int upto, int flags);
|
||||
|
||||
#endif /* COMPAT_6_5 */
|
||||
|
||||
#endif /* _CLIXON_LOG_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue