#undef LOCAL_DEBUG
-#include "lib/lib.h"
-#include "lib/bbuf.h"
-#include "images/images.h"
-#include "images/error.h"
+#include <ucw/lib.h>
+#include <ucw/bbuf.h>
+#include <images/images.h>
+#include <images/error.h>
#include <string.h>
void
image_context_msg_default(struct image_context *ctx)
{
- log(ctx->msg_code >> 24, "%s", ctx->msg);
+ msg(ctx->msg_code >> 24, "%s", ctx->msg);
}
void
}
void
-image_context_msg(struct image_context *ctx, uns code, char *msg, ...)
+image_context_msg(struct image_context *ctx, uint code, char *msg, ...)
{
va_list args;
va_start(args, msg);
}
void
-image_context_vmsg(struct image_context *ctx, uns code, char *msg, va_list args)
+image_context_vmsg(struct image_context *ctx, uint code, char *msg, va_list args)
{
ctx->msg_code = code;
ctx->msg = bb_vprintf(&ctx->msg_buf, msg, args);