diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:18:06 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:18:06 (EST) |
commit | 0b7a99e65bb95cd86d8846a21fce1cfc2b0b7495 (patch) | |
tree | 5e32dd2d7117c2c5b6e3cdab91cc68d1fc9a2522 /conffile.c | |
parent | 7fc0de8e48b598a188237a13424be3f86189b3d9 (diff) |
* Rename top level ipkg directory to opkg
git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'conffile.c')
-rw-r--r-- | conffile.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -18,8 +18,8 @@ #include <string.h> #include <stdlib.h> -#include "ipkg.h" -#include "ipkg_message.h" +#include "opkg.h" +#include "opkg_message.h" #include "conffile.h" #include "file_util.h" @@ -35,7 +35,7 @@ void conffile_deinit(conffile_t *conffile) nv_pair_deinit(conffile); } -int conffile_has_been_modified(ipkg_conf_t *conf, conffile_t *conffile) +int conffile_has_been_modified(opkg_conf_t *conf, conffile_t *conffile) { char *md5sum; char *filename = conffile->name; @@ -43,7 +43,7 @@ int conffile_has_been_modified(ipkg_conf_t *conf, conffile_t *conffile) int ret; if (conffile->value == NULL) { - ipkg_message(conf, IPKG_NOTICE, "%s: conffile %s has no md5sum\n", __FUNCTION__, conffile->name); + opkg_message(conf, OPKG_NOTICE, "%s: conffile %s has no md5sum\n", __FUNCTION__, conffile->name); return 1; } @@ -53,7 +53,7 @@ int conffile_has_been_modified(ipkg_conf_t *conf, conffile_t *conffile) ret = strcmp(md5sum, conffile->value); if (ret) { - ipkg_message(conf, IPKG_NOTICE, "%s: conffile %s: \t\nold md5=%s \t\nnew md5=%s\n", __FUNCTION__, + opkg_message(conf, OPKG_NOTICE, "%s: conffile %s: \t\nold md5=%s \t\nnew md5=%s\n", __FUNCTION__, conffile->name, md5sum, conffile->value); } |