[BACK]Return to name.c CVS log [TXT][DIR] Up to [Development] / inventor / libimage

File: [Development] / inventor / libimage / name.c (download)

Revision 1.1, Tue Aug 15 12:56:29 2000 UTC (17 years, 2 months ago) by naaman
Branch point for: MAIN

Initial revision

/*
 *	isetname and isetcolormap -
 *
 *				Paul Haeberli - 1984
 *
 */
#include	<stdio.h>
#include	<string.h>
#include	"image.h"

void isetname(IMAGE *image, char *name)
{
    strncpy(image->name,name,80);
}

void isetcolormap(IMAGE *image, int colormap)
{
    image->colormap = colormap;
}