chiark / gitweb /
adns compiles ish, working on transferring the rest
[chiark-tcl.git] / adns / adns.tct
index dc620179bebce37199bbd4eed169b7b0efdcfeff..6bb013933ac0787f38a07b056306581040b3f60d 100644 (file)
@@ -1,22 +1,20 @@
-H-Include "adnstcl.h"
-
 Type adnsresults:              adns_answer *@
 Init adnsresults               @=0;
 Fini adnsresults               free(@);
 
-Table toplevel TopLevel_Command
+Table adnstoplevel TopLevel_Command
        adns
-               subcmd  enum(Adns_SubCommand,"adns subcommand")
+               subcmd  enum(Adns/_SubCommand, "adns subcommand")
                ...     obj
 
 Table adns Adns_SubCommand
        lookup
-               rrtype  enum(AdnsTclRRTypeInfo, "rrtype")
+               rrtype  enum(AdnsTclRRTypeInfo/, "rrtype")
                domain  string
                ...     obj
                =>      obj
        synch
-               rrtype  enum(AdnsTclRRTypeInfo, "rrtype")
+               rrtype  enum(AdnsTclRRTypeInfo/, "rrtype")
                domain  string
                ...     obj
                =>      obj
@@ -25,7 +23,7 @@ Table adns Adns_SubCommand
                on_no   obj
                on_fail obj
                xargs   obj
-               rrtype  enum(AdnsTclRRTypeInfo, "rrtype")
+               rrtype  enum(AdnsTclRRTypeInfo/, "rrtype")
                domain  string
                ...     obj
                =>      iddata(&adnstcl_queries)