--- TokyoDystopia.xs 2008/08/17 22:35:45 5 +++ TokyoDystopia.xs 2008/08/17 23:53:11 10 @@ -14,7 +14,7 @@ tcidberrmsg(ecode) int ecode CODE: - RETVAL = tchdberrmsg(ecode); + RETVAL = tcidberrmsg(ecode); OUTPUT: RETVAL @@ -22,39 +22,72 @@ void * tcidbnew() PREINIT: - TCIDB *db; + TCIDB *idb; CODE: - db = tcidbnew(); - RETVAL = db; + idb = tcidbnew(); + RETVAL = idb; OUTPUT: RETVAL void -tcidbdel(db) - void * db +tcidbdel(idb) + void * idb CODE: - tcidbdel(db); + tcidbdel(idb); int -tcidbecode(db) - void * db +tcidbecode(idb) + void * idb CODE: - RETVAL = tcidbecode(db); + RETVAL = tcidbecode(idb); OUTPUT: RETVAL int -tcidbtune(db, ernum, etnum, iusiz, opts) - void * db +tcidbtune(idb, ernum, etnum, iusiz, opts) + void * idb int ernum int etnum int iusiz int opts CODE: - RETVAL = tcidbtune(db, ernum, etnum, iusiz, opts); + RETVAL = tcidbtune(idb, ernum, etnum, iusiz, opts); OUTPUT: RETVAL + +int +tcidbsetcache(idb, icsiz, lcnum) + void * idb + int icsiz + int lcnum +CODE: + RETVAL = tcidbsetcache(idb, icsiz, lcnum); +OUTPUT: + RETVAL + + +int +tcidbsetfwmmax(idb, fwmax) + void * idb + int fwmax +CODE: + RETVAL = tcidbsetfwmmax(idb, fwmax); +OUTPUT: + RETVAL + + +int +tcidbopen(idb, path, omode) + void * idb + char * path + int omode +CODE: + RETVAL = tcidbopen(idb, path, omode); +OUTPUT: + RETVAL + +