diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-05 13:27:46 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-05 13:27:46 +0000 |
commit | da4453ce4c343f76c069078b89307f3bde62884e (patch) | |
tree | 5c3167a191c994d7e0c52a5f906dfc188227d3fb /src/controller.c | |
parent | 022977e0b7c160e6e33ec07f2c41f60707d43cb6 (diff) | |
download | rspamd-da4453ce4c343f76c069078b89307f3bde62884e.tar.gz rspamd-da4453ce4c343f76c069078b89307f3bde62884e.zip |
[Rework] Refactor struct names
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controller.c b/src/controller.c index 75a502871..4380f880e 100644 --- a/src/controller.c +++ b/src/controller.c @@ -718,8 +718,8 @@ rspamd_controller_handle_symbols (struct rspamd_http_connection_entry *conn_ent, struct rspamd_controller_session *session = conn_ent->ud; GHashTableIter it, sit; struct rspamd_symbols_group *gr; - struct rspamd_symbol_def *sym; - struct metric *metric; + struct rspamd_symbol *sym; + struct rspamd_metric *metric; ucl_object_t *obj, *top, *sym_obj, *group_symbols; gpointer k, v; @@ -799,7 +799,7 @@ rspamd_controller_handle_actions (struct rspamd_http_connection_entry *conn_ent, struct rspamd_http_message *msg) { struct rspamd_controller_session *session = conn_ent->ud; - struct metric *metric; + struct rspamd_metric *metric; struct metric_action *act; gint i; ucl_object_t *obj, *top; @@ -1885,7 +1885,7 @@ rspamd_controller_handle_saveactions ( { struct rspamd_controller_session *session = conn_ent->ud; struct ucl_parser *parser; - struct metric *metric; + struct rspamd_metric *metric; ucl_object_t *obj; const ucl_object_t *cur; struct rspamd_controller_worker_ctx *ctx; @@ -1995,14 +1995,14 @@ rspamd_controller_handle_savesymbols ( { struct rspamd_controller_session *session = conn_ent->ud; struct ucl_parser *parser; - struct metric *metric; + struct rspamd_metric *metric; ucl_object_t *obj; const ucl_object_t *cur, *jname, *jvalue; ucl_object_iter_t iter = NULL; struct rspamd_controller_worker_ctx *ctx; const gchar *error; gdouble val; - struct rspamd_symbol_def *sym; + struct rspamd_symbol *sym; int added = 0; ctx = session->ctx; |