From 0b7a99e65bb95cd86d8846a21fce1cfc2b0b7495 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:18:06 -0500 Subject: * Rename top level ipkg directory to opkg git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'conffile.c') diff --git a/conffile.c b/conffile.c index 09577c6..5f41cc1 100644 --- a/conffile.c +++ b/conffile.c @@ -18,8 +18,8 @@ #include #include -#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); } -- cgit v0.9.1