diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2005-03-12 00:19:13 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2005-03-12 00:19:13 +0000 |
commit | 3573488ef227bd7719eae892c72784cace95ffd4 (patch) | |
tree | 025299aeb3ad4574da705d836a396483cab229be /shared/common/props.h | |
parent | 1eef182b31a4cb2f55e26e7527469fc2902368a3 (diff) |
cyclone alpha54 and toxy alpha16 (see notes.txt for cyclone, toxy and shared)
svn path=/trunk/externals/miXed/; revision=2618
Diffstat (limited to 'shared/common/props.h')
-rw-r--r-- | shared/common/props.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/shared/common/props.h b/shared/common/props.h index 8e3add6..c9d81a6 100644 --- a/shared/common/props.h +++ b/shared/common/props.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2003 krzYszcz and others. +/* Copyright (c) 2003-2005 krzYszcz and others. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ @@ -10,17 +10,25 @@ EXTERN_STRUCT _props; typedef char *(*t_propsresolver)(t_pd *, int, t_atom *); -t_symbol *props_add(t_props *pp, int single, t_symbol *s, int ac, t_atom *av); -int props_remove(t_props *pp, t_symbol *s); -void props_clone(t_props *to, t_props *from); char *props_getvalue(t_props *pp, char *key); char *props_firstvalue(t_props *pp, char **keyp); char *props_nextvalue(t_props *pp, char **keyp); -t_atom *props_getone(t_props *pp, t_symbol *s, int *npp); +void props_clearvalues(t_props *pp); +void props_clonevalues(t_props *to, t_props *from); + +t_atom *props_getone(t_props *pp, t_symbol *keysym, int *npp); +t_atom *props_getfirst(t_props *pp, int *npp); +t_atom *props_getnext(t_props *pp, int *npp); t_atom *props_getall(t_props *pp, int *npp); char *props_getname(t_props *pp); + +t_symbol *props_add(t_props *pp, int single, t_props *filter, + t_symbol *s, int ac, t_atom *av); +int props_remove(t_props *pp, t_symbol *keysym); +void props_diff(t_props *pp0, t_props *pp1, t_props *pp2); +void props_clearall(t_props *pp); void props_freeall(t_props *pp); t_props *props_new(t_pd *owner, char *name, char *thisdelim, - t_props *otherprops, t_propsresolver resolver); + t_props *mixup, t_propsresolver resolver); #endif |