src/lib/image.h
author Tero Marttila <terom@fixme.fi>
Sun, 27 Dec 2009 23:14:10 +0200
changeset 1 f3cde3db1fef
parent 0 cff7fac35cc2
child 6 766df7c9b90d
permissions -rw-r--r--
basic image/cache code compiles
#ifndef PNGTILE_IMAGE_H
#define PNGTILE_IMAGE_H

/**
 * @file
 *
 * Internal pt_image state
 */
#include "pngtile.h"

struct pt_image {
    /** Associated global state */
    struct pt_ctx *ctx;

    /** Path to .png */
    char *path;
    
    /** Cache object */
    struct pt_cache *cache;
};

/**
 * Release the given pt_image without any clean shutdown
 */
void pt_image_destroy (struct pt_image *image);


#endif