This commit is contained in:
hyung-hwan 2008-05-25 07:07:30 +00:00
parent e6d55b0287
commit 26b09d6fc1

View File

@ -7,6 +7,8 @@
struct ase_tgp_t
{
int errnum;
ase_mmgr_t mmgr;
};
@ -20,11 +22,9 @@ ase_tgp_t* ase_tgp_open (ase_mmgr_t* mmgr)
tgp = ASE_MALLOC (mmgr, ASE_SIZEOF(*tgp));
if (tgp == ASE_NULL) return ASE_NULL;
ase_memset (tgp, 0, ASE_SIZEOF(*tgp));
ase_memcpy (&tgp->mmgr, mmgr, ASE_SIZEOF(*mmgr));
return tgp;
}
@ -33,3 +33,11 @@ void ase_tgp_close (ase_tgp_t* tgp)
ASE_FREE (&tgp->mmgr, tgp);
}
int ase_tgp_geterrnum (ase_tgp_t* tgp)
{
return tgp->errnum;
}
int ase_tgp_read (ase_tgp_t* tgp)
{
}