aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wydawca.h')
-rw-r--r--src/wydawca.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/wydawca.h b/src/wydawca.h
index 580d0be..63da9bb 100644
--- a/src/wydawca.h
+++ b/src/wydawca.h
@@ -277,12 +277,6 @@ void notify_stats(void);
void notify_flush(struct spool *sp);
-char *meta_expand_string(const char *string, struct wy_metadef *def, void *data,
- struct dictionary *dict, void *handle);
-void meta_free(struct wy_metadef *def);
-struct wy_metadef *metadef_join(struct wy_metadef *a, struct wy_metadef *b);
-
-
/* Modules */
struct module {
@@ -365,7 +359,6 @@ extern struct notification *default_notification;
} while (0)
int stat_mask_p(unsigned long mask);
-struct wy_metadef *make_stat_expansion(size_t count);
void initstats(void);
void logstats(void);
@@ -412,7 +405,7 @@ struct wy_triplet *link_processable_triplets(void);
size_t count_collected_triplets(void);
char *triplet_expand_dictionary_query(struct dictionary *dict, void *handle,
- struct wy_triplet const *trp);
+ struct wy_triplet *trp);
void triplet_remove_file(struct spool *spool, const char *name);
@@ -447,7 +440,7 @@ struct wy_user *uploader_find_frp(struct wy_user *list,
/* Directive file support */
int directive_parse(struct wy_triplet *trp);
-int directive_get_value(struct wy_triplet *trp, const char *key,
+int directive_get_value(struct wy_triplet const *trp, const char *key,
const char **pval);
int directive_pack_version(const char *val, unsigned *pversion);
int directive_unpack_version(unsigned version, char **pbuf, size_t * psize);
@@ -521,8 +514,6 @@ double timer_get_user(wydawca_timer_t t);
double timer_get_system(wydawca_timer_t t);
char *timer_format_time(double t);
size_t timer_get_count(void);
-void timer_fill_meta(struct wy_metadef *def, size_t num);
-void timer_free_meta(struct wy_metadef *def, size_t num);
void report_init(void);
void report_add(const char *fmt, ...);
@@ -572,3 +563,5 @@ int watcher_run(int);
# define watcher_init() -1
# define watcher_run(c)
#endif
+
+int wy_stat_expansion(char **ret, char const *name, size_t len);

Return to:

Send suggestions and report system problems to the System administrator.