attribute.texi 3.9 KB
@c This is part of the GNU Mailutils manual.
@c Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
@c See file mailutils.texi for copying conditions.
@comment *******************************************************************

@smallexample
@code{/* Prefix @emph{attribute_} is reserved. */}
@code{#include <mailutils/attribute.h>}
@end smallexample

@deftypefun  int attribute_create (attribute_t *@var{attr}, void *)
@end deftypefun

@deftypefun void attribute_destroy (attribute_t *@var{attr}, void *)
@end deftypefun

@deftypefun void* attribute_get_owner (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_modified (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_clear_modified (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_modified (attribute_t @var{attr})
@end deftypefun

@c
@c _is_
@c

@deftypefun  int attribute_is_userflag (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_seen (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_answered (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_flagged (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_deleted (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_draft (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_recent (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_is_read (attribute_t @var{attr})
@end deftypefun

@c
@c _set_
@c

@deftypefun  int attribute_set_userflag (attribute_t @var{attr}, int)
@end deftypefun

@deftypefun  int attribute_set_seen (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_answered (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_flagged (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_deleted (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_draft (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_recent (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_set_read (attribute_t @var{attr})
@end deftypefun

@c
@c _unset_
@c

@deftypefun  int attribute_unset_userflag (attribute_t @var{attr}, int)
@end deftypefun

@deftypefun  int attribute_unset_seen (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_answered (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_flagged (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_deleted (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_draft (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_recent (attribute_t @var{attr})
@end deftypefun

@deftypefun  int attribute_unset_read (attribute_t @var{attr})
@end deftypefun

@c
@c ----------
@c

@deftypefun  int attribute_get_flags (attribute_t @var{attr}, int *)
@end deftypefun

@deftypefun  int attribute_set_flags (attribute_t @var{attr}, int)
@end deftypefun

@deftypefun  int attribute_unset_flags (attribute_t @var{attr}, int)
@end deftypefun

@deftypefun  int attribute_set_set_flags (attribute_t @var{attr}, int (*@var{_set_flags}) (attribute_t, int), void *)
@end deftypefun

@deftypefun  int attribute_set_unset_flags (attribute_t @var{attr}, int (*@var{_unset_flags}) (attribute_t, int), void *)
@end deftypefun

@deftypefun  int attribute_set_get_flags (attribute_t @var{attr}, int (*@var{_get_flags}) (attribute_t, int *), void *)
@end deftypefun

@c
@c ----------
@c

@deftypefun  int attribute_is_equal (attribute_t @var{attr1}, attribute_t @var{attr2})
@end deftypefun

@deftypefun  int attribute_copy (attribute_t @var{dst}, attribute_t @var{src})
@end deftypefun

@deftypefun  int attribute_to_string (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