Example #1
0
GPFsIf *
gpfs_if_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFsIf));
	if (!o) return NULL;
	return (GPFsIf *) o;
};
Example #2
0
GPFsFile *
gpfs_file_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFsFile));
	if (!o) return NULL;
	o->f_free = gpfs_file_free;
	return (GPFsFile *) o;
}
Example #3
0
GPFs *
gpfs_new (void)
{
	GPFsObj *o;

	o = gpfs_obj_new (sizeof (GPFs));
	if (!o) return NULL;

	return (GPFs *) o;
}