diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2009-09-14 19:42:12 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-09-14 19:45:34 +0200 |
commit | 4fac4f2b5af3d46d39d1ab36f38f10862544c783 (patch) | |
tree | eeaaedf5d28e32ab9fd245f1552760116f20e5bd /common/eurephia_values.h | |
parent | 538ce0e3537dd5bc9038d0541f3931769c0a8159 (diff) | |
download | eurephia-4fac4f2b5af3d46d39d1ab36f38f10862544c783.tar.gz eurephia-4fac4f2b5af3d46d39d1ab36f38f10862544c783.tar.xz eurephia-4fac4f2b5af3d46d39d1ab36f38f10862544c783.zip |
Added eRemove_value() function, to remove a key/value pair from an eurephiaVALUES chain
Diffstat (limited to 'common/eurephia_values.h')
-rw-r--r-- | common/eurephia_values.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/eurephia_values.h b/common/eurephia_values.h index dcb81bc..94f6d63 100644 --- a/common/eurephia_values.h +++ b/common/eurephia_values.h @@ -28,8 +28,8 @@ * */ -#ifndef EUREPHIA_VALUES_H_ -# define EUREPHIA_VALUES_H_ +#ifndef EUREPHIA_VALUES_H_ +# define EUREPHIA_VALUES_H_ #include <eurephia_context.h> @@ -40,6 +40,7 @@ eurephiaVALUES *eCreate_value_space(eurephiaCTX *ctx, int evid); void eAdd_valuestruct(eurephiaCTX *ctx, eurephiaVALUES *vls, eurephiaVALUES *newval); void eAdd_value(eurephiaCTX *ctx, eurephiaVALUES *vls, const char *key, const char *val); +eurephiaVALUES *eRemove_value(eurephiaCTX *ctx, eurephiaVALUES *vls, unsigned int evgid, unsigned int evid); /** * Front-end function for eFree_values_func(). Frees eurephiaVALUES pointer chain and @@ -52,4 +53,4 @@ void eAdd_value(eurephiaCTX *ctx, eurephiaVALUES *vls, const char *key, const ch #define eFree_values(c, v) { eFree_values_func(c, v); v = NULL; } void eFree_values_func(eurephiaCTX *ctx, eurephiaVALUES *vls); -#endif /* !EUREPHIA_VALUES_H_ */ +#endif /* !EUREPHIA_VALUES_H_ */ |