Improve message functions to support message formating in printf style.

This commit is contained in:
Vreixo Formoso
2007-12-17 21:12:51 +01:00
parent f279676b6b
commit 159b775d22
6 changed files with 92 additions and 49 deletions

View File

@ -17,6 +17,7 @@
#include "libburn/libburn.h"
#include <stdlib.h>
#include <time.h>
static
int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
@ -31,6 +32,11 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
return ISO_MEM_ERROR;
}
target->image = src;
target->iso_level = opts->level;
target->now = time(NULL);
ret = ecma119_tree_create(target, src->root);
if (ret < 0) {
// TODO free image data