Changes between Version 1 and Version 2 of Registry2Notes


Ignore:
Timestamp:
Mar 23, 2009, 9:44:11 PM (15 years ago)
Author:
blb@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Registry2Notes

    v1 v2  
    22Note that some source files have doxygen-style comments, so some docs can be created by running doxygen on them.
    33
     4Code: [browser:trunk/base/src/registry2.0]
     5
    46== Tcl commands created == #tcl_commands
    57 - `registry::entry cmd ?arg ...?`
    6   - Run a command against registry entries
    7  - `${entry} cmd ?arg ...?`
    8   - Commands specific to just one registry entry (usually gained from `registry::entry`)
    9  - `item cmd ?arg ...?`
    10  - `${item} cmd ?arg ...?`
    11  - `registry::open`
    12  - `registry::close`
    13  - `registry::read`
    14  - `registry::write`
    15 
    16 == C code files == #c_code
    17 === entry.[ch] === #entry_c
    18  - void delete_entry(ClientData clientData)
    19   - to be used as the 'Tcl_CmdDeleteProc' for an entry object
    20  - int entry_cmd(ClientData clientData UNUSED, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
    21   - implements "registry::entry cmd ?arg ...?"
    22   - commands are:
     8  - Run a command against registry entries (implemented in entry.c)
     9  - Commands are:
    2310   - create - entry_create()
    2411   - delete - entry_delete()
     
    3118   - owner - entry_owner()
    3219
    33 === entryobj.[ch] === #entryobj_c
    34  - int entry_obj_cmd(ClientData clientData, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
    35   - implements "${entry} cmd ?arg ...?" (procs for entry objects from "registry::entry")
    36   - commands are:
     20 - `${entry} cmd ?arg ...?`
     21  - Commands specific to just one registry entry (usually gained from `registry::entry`) (implemented in entryobj.c)
     22  - Commands are:
    3723   - name - entry_obj_prop()
    3824   -  portfile - entry_obj_prop()
     
    5743   -  depends - entry_obj_depends()
    5844
     45 - `item cmd ?arg ...?`
     46  - Implemented in item.c
     47  - Commands are:
     48   - create - item_create()
     49   -  search - item_search()
     50   -  exists - item_exists()
     51   -  others are commented-out (retain, release, name, url, path, worker, options, and variants)
     52
     53 - `${item} cmd ?arg ...?`
     54  - Implemented in itemobj.c
     55  - Commands are:
     56   - retain - item_obj_retain()
     57   - release - item_obj_release()
     58   - key - item_obj_key()
     59
     60 - Top-level registry commands (implemented in registry.c):
     61   - registry::open - registry_open()
     62   - registry::close - registry_close()
     63   - registry::read - registry_read()
     64   - registry::write - registry_write()
     65   - registry::entry - entry_cmd()
     66
     67== C code files == #c_code
     68=== entry.[ch] === #entry_c
     69 - void delete_entry(ClientData clientData)
     70  - to be used as the 'Tcl_CmdDeleteProc' for an entry object
     71 - int entry_cmd(ClientData clientData UNUSED, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
     72  - implements "registry::entry cmd ?arg ...?"
     73
     74=== entryobj.[ch] === #entryobj_c
     75 - int entry_obj_cmd(ClientData clientData, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
     76  - implements "${entry} cmd ?arg ...?" (procs for entry objects from "registry::entry")
     77
    5978=== graph.[ch] === #graph_c
    6079=== graphobj.[ch] === #graphobj_c
     
    6483 - int item_cmd(ClientData clientData UNUSED, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
    6584  - implements "item cmd ?arg ...?"
    66   - commands are:
    67    - create - item_create()
    68    -  search - item_search()
    69    -  exists - item_exists()
    70    -  others are commented-out (retain, release, name, url, path, worker, options, and variants)
    7185
    7286=== itemobj.[ch] === #itemobj_c
    7387 - int item_obj_cmd(ClientData clientData, Tcl_Interp* interp, int objc, Tcl_Obj* CONST objv[])
    7488  - implements "${item} cmd ?arg ...?" (procs for item objects from "item"
    75   - commands are:
    76    - retain - item_obj_retain()
    77    - release - item_obj_release()
    78    - key - item_obj_key()
    7989
    8090=== registry.[ch] === #registry_c
     
    8494  - Sets a Tcl object result based on errPtr
    8595 - int Registry_Init(Tcl_Interp* interp)
    86   - The Tcl entry point for registry2.0; creates several commands:
    87    - registry::open - registry_open()
    88    - registry::close - registry_close()
    89    - registry::read - registry_read()
    90    - registry::write - registry_write()
    91    - registry::entry - entry_cmd()
    9296
    9397=== util.[ch] === #util_c