chiark / gitweb /
dispatch entrypoints
authorian <ian>
Sat, 11 Feb 2006 20:07:25 +0000 (20:07 +0000)
committerian <ian>
Sat, 11 Feb 2006 20:07:25 +0000 (20:07 +0000)
cdb/readonly.c
cdb/writeable.c

index d9f3eef..a084fc8 100644 (file)
@@ -69,3 +69,9 @@ int cht_do_cdb_lookup_hb(ClientData cd, Tcl_Interp *ip, void *ro_v,
   return cht_cdb_donesomelookup(ip, ro_v, def, result, data, dlen,
                                cht_cdb_storeanswer_hb);
 }
+
+int cht_do_cdbtoplevel_cdb(ClientData cd, Tcl_Interp *ip,
+                          const Cdb_SubCommand* subcmd,
+                          int objc, Tcl_Obj *const *objv) {
+  return subcmd->func((void*)subcmd,ip,objc,objv);
+}
index e584b79..2b7adcc 100644 (file)
@@ -877,3 +877,9 @@ int cht_do_cdbwr_lookup_hb(ClientData cd, Tcl_Interp *ip, void *rw_v,
   return cht_cdb_donesomelookup(ip, rw_v, def, result, data, dlen,
                                cht_cdb_storeanswer_hb);
 }
+
+int cht_do_cdbtoplevel_cdb_wr(ClientData cd, Tcl_Interp *ip,
+                             const Cdbwr_SubCommand* subcmd,
+                             int objc, Tcl_Obj *const *objv) {
+  return subcmd->func((void*)subcmd,ip,objc,objv);
+}