/usr/include/dovecot/sieve/strtrim.h is in dovecot-dev 1:2.2.22-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #ifndef STRTRIM_H
#define STRTRIM_H
/* Trim matching chars from either side of the string */
const char *ph_t_str_trim(const char *str, const char *chars);
const char *ph_p_str_trim(pool_t pool, const char *str, const char *chars);
const char *ph_str_ltrim(const char *str, const char *chars);
const char *ph_t_str_ltrim(const char *str, const char *chars);
const char *ph_p_str_ltrim(pool_t pool, const char *str, const char *chars);
const char *ph_t_str_rtrim(const char *str, const char *chars);
const char *ph_p_str_rtrim(pool_t pool, const char *str, const char *chars);
#endif
|