attribute.texi
4.15 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
@c This is part of the GNU Mailutils manual.
@c Copyright (C) 1999,2000,2001,2002,2003,2004,2006
@c Free Software Foundation, Inc.
@c See file mailutils.texi for copying conditions.
@comment *******************************************************************
@smallexample
@code{/* Prefix @emph{mu_attribute_} is reserved. */}
@code{#include <mailutils/attribute.h>}
@end smallexample
@deftypefun int mu_attribute_create (mu_attribute_t *@var{attr}, void *)
@end deftypefun
@deftypefun void mu_attribute_destroy (mu_attribute_t *@var{attr}, void *)
@end deftypefun
@deftypefun void* mu_attribute_get_owner (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_modified (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_clear_modified (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_modified (mu_attribute_t @var{attr})
@end deftypefun
@c
@c _is_
@c
@deftypefun int mu_attribute_is_userflag (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_seen (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_answered (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_flagged (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_deleted (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_draft (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_recent (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_is_read (mu_attribute_t @var{attr})
@end deftypefun
@c
@c _set_
@c
@deftypefun int mu_attribute_set_userflag (mu_attribute_t @var{attr}, int)
@end deftypefun
@deftypefun int mu_attribute_set_seen (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_answered (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_flagged (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_deleted (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_draft (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_recent (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_set_read (mu_attribute_t @var{attr})
@end deftypefun
@c
@c _unset_
@c
@deftypefun int mu_attribute_unset_userflag (mu_attribute_t @var{attr}, int)
@end deftypefun
@deftypefun int mu_attribute_unset_seen (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_answered (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_flagged (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_deleted (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_draft (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_recent (mu_attribute_t @var{attr})
@end deftypefun
@deftypefun int mu_attribute_unset_read (mu_attribute_t @var{attr})
@end deftypefun
@c
@c ----------
@c
@deftypefun int mu_attribute_get_flags (mu_attribute_t @var{attr}, int *)
@end deftypefun
@deftypefun int mu_attribute_set_flags (mu_attribute_t @var{attr}, int)
@end deftypefun
@deftypefun int mu_attribute_unset_flags (mu_attribute_t @var{attr}, int)
@end deftypefun
@deftypefun int mu_attribute_set_set_flags (mu_attribute_t @var{attr}, int (*@var{_set_flags}) (mu_attribute_t, int), void *)
@end deftypefun
@deftypefun int mu_attribute_set_unset_flags (mu_attribute_t @var{attr}, int (*@var{_unset_flags}) (mu_attribute_t, int), void *)
@end deftypefun
@deftypefun int mu_attribute_set_get_flags (mu_attribute_t @var{attr}, int (*@var{_get_flags}) (mu_attribute_t, int *), void *)
@end deftypefun
@c
@c ----------
@c
@deftypefun int mu_attribute_is_equal (mu_attribute_t @var{attr1}, mu_attribute_t @var{attr2})
@end deftypefun
@deftypefun int mu_attribute_copy (mu_attribute_t @var{dst}, mu_attribute_t @var{src})
@end deftypefun
@deftypefun int mu_attribute_to_string (mu_attribute_t @var{attr}, char *@var{buf}, size_t @var{len}, size_t *@var{writen})
@end deftypefun
@deftypefun int string_to_flags (const char *@var{buf}, int *)
@end deftypefun