diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-21 15:57:21 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-12-21 15:57:57 +0200 |
commit | 43ba0c3da9ff8913f0286a01a82875fa59601dc0 (patch) | |
tree | fac6765cc2fb90ae39f5eb47d2c41abcaf93fb6d /src/process.c | |
parent | 30e1c54062fe7098b9c71601370df1ce27f873d3 (diff) | |
download | wydawca-43ba0c3da9ff8913f0286a01a82875fa59601dc0.tar.gz wydawca-43ba0c3da9ff8913f0286a01a82875fa59601dc0.tar.bz2 |
Namespace cleanup.
Rename "access method" to "dictionary".
All sources affected.
* src/method.c: renamed to...
* src/dictionary.c: ... this.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c index a998edb..58df169 100644 --- a/src/process.c +++ b/src/process.c @@ -211,11 +211,11 @@ scan_spool_unlocked (const struct spool *spool, int uc, uid_t *uv) { int i; - for (i = 0; i < access_method_count; i++) + for (i = 0; i < dictionary_count; i++) { - if (method_init (spool->access_method[i])) + if (dictionary_init (spool->dictionary[i])) { - logmsg (LOG_ERR, _("failed to initialize access method %d"), i); + logmsg (LOG_ERR, _("failed to initialize dictionary %d"), i); return; } } @@ -250,11 +250,11 @@ scan_spool (const struct spool *spool, int uc, uid_t *uv) } static void -close_methods (struct spool *spool) +close_dictionaries (struct spool *spool) { int i; - for (i = 0; i < NITEMS (spool->access_method); i++) - method_done (spool->access_method[i]); + for (i = 0; i < NITEMS (spool->dictionary); i++) + dictionary_done (spool->dictionary[i]); } /* Scan all configured update directories */ @@ -271,7 +271,7 @@ scan_all_spools (int uidc, uid_t *uidv) rc++; for (sp = spool_list; sp; sp = sp->next) - close_methods (&sp->spool); + close_dictionaries (&sp->spool); timer_stop ("wydawca"); return rc; } |