Commit fdd5ba79 authored by Pekka Pessi's avatar Pekka Pessi

su/sofia-sip/su_tag.h: fixed whitespace

darcs-hash:20081127130605-db55f-89cea2c1183eb7d9ecaae5049451e1e70ff15c2d.gz
parent 3379cb6f
......@@ -30,7 +30,7 @@
* @file sofia-sip/su_tag.h Object-oriented tags and tag list interface.
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
*
*
* @date Created: Tue Feb 20 19:48:18 2001 ppessi
*/
......@@ -68,7 +68,7 @@ typedef struct {
/** Tag type class */
typedef struct tag_class_s const tag_class_t;
/** Tag structure.
/** Tag structure.
*
* The tag structure contains the name, namespace and class of the tag. The
* fourth field, @a tt_magic, is interpreted by the tag class.
......@@ -77,7 +77,7 @@ struct tag_type_s {
char const *tt_ns; /**< Tag namespace (e.g., "sip" or "nua") */
char const *tt_name; /**< Tag name (e.g, "min_se") */
tag_class_t *tt_class; /**< Tag class defines the type of the value */
tag_value_t tt_magic; /**< Class-specific data
tag_value_t tt_magic; /**< Class-specific data
(e.g., pointer to header class structure) */
};
......@@ -96,12 +96,12 @@ SOFIAPUBVAR tag_typedef_t tag_next;
/** Any tag accepted when filtering. */
SOFIAPUBVAR tag_typedef_t tag_any;
/** Filter tag using function as argument.
/** Filter tag using function as argument.
* @since New in @VERSION_1_12_2.
*/
SOFIAPUBVAR tag_typedef_t tag_filter;
/** Prototype for filtering function used with TAG_FILTER().
/** Prototype for filtering function used with TAG_FILTER().
* @since New in @VERSION_1_12_2.
*/
typedef int tag_filter_f(tagi_t const *filter, tagi_t const *dest);
......@@ -121,11 +121,11 @@ typedef int tag_filter_f(tagi_t const *filter, tagi_t const *dest);
/** @HI Initialize a filter tag item accepting any item. */
#define TAG_ANY() tag_any, (tag_value_t)0
/** @HI Initialize a @a item if condition is true;
/** @HI Initialize a @a item if condition is true;
* otherwise, initialize an empty tag item. */
#define TAG_IF(condition, item) !(condition) ? tag_skip : item
/** @HI Initialize a filter tag item accepting any item.
/** @HI Initialize a filter tag item accepting any item.
* @since New in @VERSION_1_12_2.
*/
#define TAG_FILTER(function) tag_filter, tag_filter_v(function)
......@@ -134,7 +134,7 @@ typedef int tag_filter_f(tagi_t const *filter, tagi_t const *dest);
SOFIAPUBFUN int t_snprintf(tagi_t const *t, char b[], size_t size);
/** Convert string to a tag value */
SOFIAPUBFUN int t_scan(tag_type_t tt, su_home_t *home, char const *s,
SOFIAPUBFUN int t_scan(tag_type_t tt, su_home_t *home, char const *s,
tag_value_t *return_value);
/* Tagarg functions */
......@@ -142,7 +142,7 @@ SOFIAPUBFUN tagi_t *tl_tlist(su_home_t *, tag_type_t, tag_value_t, ...);
SOFIAPUBFUN size_t tl_tmove(tagi_t *dst, size_t, tag_type_t, tag_value_t, ...);
SOFIAPUBFUN int tl_gets(tagi_t const lst[], tag_type_t, tag_value_t, ...);
SOFIAPUBFUN int tl_tgets(tagi_t lst[], tag_type_t, tag_value_t, ...);
SOFIAPUBFUN tagi_t *tl_tfilter(su_home_t *, tagi_t const lst[],
SOFIAPUBFUN tagi_t *tl_tfilter(su_home_t *, tagi_t const lst[],
tag_type_t, tag_value_t, ...);
SOFIAPUBFUN int tl_tremove(tagi_t lst[], tag_type_t, tag_value_t, ...);
......@@ -162,7 +162,7 @@ SOFIAPUBFUN tagi_t *tl_filter(tagi_t *, tagi_t const filter[],
SOFIAPUBFUN tagi_t *tl_afilter(su_home_t *, tagi_t const filter[],
tagi_t const lst[]);
SOFIAPUBFUN tagi_t *tl_filtered_tlist(su_home_t *home, tagi_t const filter[],
SOFIAPUBFUN tagi_t *tl_filtered_tlist(su_home_t *home, tagi_t const filter[],
tag_type_t, tag_value_t, ...);
SOFIAPUBFUN size_t tl_vlen(va_list ap);
......@@ -192,7 +192,7 @@ su_inline tag_value_t tag_ptr_v(void *v) { return (tag_value_t)v; }
su_inline tag_value_t tag_ptr_vr(void *vp, void *v)
{ (void)v; return(tag_value_t)vp; }
su_inline tag_value_t tag_cptr_v(void const *v) { return (tag_value_t)v; }
su_inline tag_value_t tag_cptr_vr(void *vp, void const *v)
su_inline tag_value_t tag_cptr_vr(void *vp, void const *v)
{ (void)v; return(tag_value_t)vp; }
su_inline tag_value_t tag_cstr_v(char const *v) { return (tag_value_t)v; }
su_inline tag_value_t tag_cstr_vr(char const**vp) {return(tag_value_t)vp;}
......@@ -202,7 +202,7 @@ su_inline tag_value_t tag_str_vr(char const **vp) {return(tag_value_t)vp;}
extern "C++" {
su_inline tag_value_t tag_ptr_v(void const *v)
{ return (tag_value_t)v; }
su_inline tag_value_t tag_ptr_vr(void *vp, void const *p)
su_inline tag_value_t tag_ptr_vr(void *vp, void const *p)
{ return (tag_value_t)vp; }
su_inline tag_value_t tag_str_v(char *v) { return (tag_value_t)v; }
su_inline tag_value_t tag_str_vr(char **vp) {return (tag_value_t)vp;}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment