backend_notify backward compatible
This commit is contained in:
parent
98f3cd0e32
commit
4d419aab54
1 changed files with 4 additions and 0 deletions
|
|
@ -76,4 +76,8 @@ int stream_notify(clicon_handle h, char *stream, const char *event, ...) __attr
|
|||
int stream_notify(clicon_handle h, char *stream, const char *event, ...);
|
||||
#endif
|
||||
|
||||
/* Backward compatible macro for <1.8 */
|
||||
#define backend_notify_xml(h, stream, level, x) stream_notify_xml(h, stream, x)
|
||||
#define backend_notify(h, stream, level, event) stream_notify(h, stream, event)
|
||||
|
||||
#endif /* _CLIXON_STREAM_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue