/usr/include/sary/str.h is in libsary-dev 1:1.2.0-2.
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 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | #ifndef __SARY_STR_H__
#define __SARY_STR_H__
#include <glib.h>
#include <sary/saryconfig.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
gchar* sary_str_seek_eol (const gchar *cursor,
const gchar *eof);
gchar* sary_str_seek_bol (const gchar *cursor,
const gchar *bof);
gchar* sary_str_get_region (const gchar *cursor,
const gchar *eof,
SaryInt len);
SaryInt sary_str_get_linelen (const gchar *cursor,
const gchar *bof,
const gchar *eof);
gchar* sary_str_get_line (const gchar *cursor,
const gchar *bof,
const gchar *eof);
gchar* sary_str_seek_lines_backward (const gchar *cursor,
const gchar *bof,
SaryInt n);
gchar* sary_str_seek_lines_forward (const gchar *cursor,
const gchar *eof,
SaryInt n);
gchar* sary_str_seek_pattern_backward (const gchar *cursor,
const gchar *bof,
const gchar *pattern);
gchar* sary_str_seek_pattern_forward (const gchar *cursor,
const gchar *eof,
const gchar *pattern);
gchar* sary_str_seek_pattern_backward2 (const gchar *cursor,
const gchar *bof,
const gchar *pattern,
SaryInt len);
gchar* sary_str_seek_pattern_forward2 (const gchar *cursor,
const gchar *eof,
const gchar *pattern,
SaryInt len);
gchar* sary_str_seek_backward (const gchar *cursor,
const gchar *bof,
const gchar *charclass);
gchar* sary_str_seek_forward (const gchar *cursor,
const gchar *eof,
const gchar *charclass);
gchar* sary_str_skip_backward (const gchar *cursor,
const gchar *bof,
const gchar *charclass);
gchar* sary_str_skip_forward (const gchar *cursor,
const gchar *eof,
const gchar *charclass);
gchar* sary_str_get_whitespaces (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __SARY_STR_H__ */
|