diff options
author | Michael Biebl <biebl@debian.org> | 2014-05-16 14:51:51 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2014-05-16 14:51:51 +0200 |
commit | f1040389ccb2430b9ab2ba3209aa28a62565b721 (patch) | |
tree | c6bf609292b6f3a80754c2d01cc8855a36ac7a37 /runtime/prop.h | |
parent | 9374a46543e9c43c009f80def8c3b2506b0b377e (diff) | |
download | rsyslog-f1040389ccb2430b9ab2ba3209aa28a62565b721.tar.gz |
Imported Upstream version 8.2.1upstream/8.2.1
Diffstat (limited to 'runtime/prop.h')
-rw-r--r-- | runtime/prop.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/prop.h b/runtime/prop.h index c7564e6..7cb2743 100644 --- a/runtime/prop.h +++ b/runtime/prop.h @@ -42,12 +42,12 @@ BEGINinterface(prop) /* name must also be changed in ENDinterface macro! */ rsRetVal (*Construct)(prop_t **ppThis); rsRetVal (*ConstructFinalize)(prop_t *pThis); rsRetVal (*Destruct)(prop_t **ppThis); - rsRetVal (*SetString)(prop_t *pThis, uchar* psz, int len); + rsRetVal (*SetString)(prop_t *pThis, const uchar* psz, const int len); rsRetVal (*GetString)(prop_t *pThis, uchar** ppsz, int *plen); int (*GetStringLen)(prop_t *pThis); rsRetVal (*AddRef)(prop_t *pThis); - rsRetVal (*CreateStringProp)(prop_t **ppThis, uchar* psz, int len); - rsRetVal (*CreateOrReuseStringProp)(prop_t **ppThis, uchar *psz, int len); + rsRetVal (*CreateStringProp)(prop_t **ppThis, const uchar* psz, const int len); + rsRetVal (*CreateOrReuseStringProp)(prop_t **ppThis, const uchar *psz, const int len); ENDinterface(prop) #define propCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ |