1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

psyc_text params

This commit is contained in:
tg(x) 2012-01-04 23:32:01 +01:00
parent 30351302bc
commit cd2e898c40
4 changed files with 11 additions and 11 deletions

View file

@ -8,7 +8,7 @@
uint8_t verbose;
PsycTextValueRC
getValueFooBar (const char *name, size_t len, PsycString *value, void *extra)
getValueFooBar (void *cls, const char *name, size_t len, PsycString *value)
{
if (verbose)
printf("> getValue: %.*s\n", (int)len, name);
@ -18,7 +18,7 @@ getValueFooBar (const char *name, size_t len, PsycString *value, void *extra)
}
PsycTextValueRC
getValueEmpty (const char *name, size_t len, PsycString *value, void *extra)
getValueEmpty (void *cls, const char *name, size_t len, PsycString *value)
{
if (verbose)
printf("> getValue: %.*s\n", (int)len, name);
@ -28,7 +28,7 @@ getValueEmpty (const char *name, size_t len, PsycString *value, void *extra)
}
PsycTextValueRC
getValueNotFound (const char *name, size_t len, PsycString *value, void *extra)
getValueNotFound (void *cls, const char *name, size_t len, PsycString *value)
{
if (verbose)
printf("> getValue: %.*s\n", (int)len, name);