backend_notify backward compatible

This commit is contained in:
Olof hagsand 2018-09-30 15:12:36 +02:00
parent 98f3cd0e32
commit 4d419aab54

View file

@ -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_ */