95/05/11, bgjang@csone

How can we use dictionary API ?
(for readibility and reusability, not for efficiency)


                  1. some global var.
           XX.    +-------------------+      YY.
           +----->|interface functions|<------+
	   |	  +-------------------+       |
           |                                  |
           V                                  V
     |            | 1. only error code   |          |
dbm  |            +------------------->  |          |   main (or other)
-----+ dictionary |                      | MAdict.c |   program
DBMS |    API     +------------------->  |          |
     |            | 2. only local        |          |
     |            |    variables         |          |
     |            |                      |          |
     |            |   <------------------+          |
     |            |   1.2. keyword       |          |


- dictionary API will not be changed even if those internal code
  can be changed cause base data structure can be changed from
  dbm to DBMS.

- we have two choices.
  2. use local variables only.
  1. use global var. and interface functions
     interface functions : how can we define these functions set ?
     XX ?
     YY ?


MAdict.c - a file which use dictionary API


global variables

dictionary's keyword is in kimmocode!

+------+-----------------------------------------------------------
| Type | ....
+------+-----------------------------------------------------------

       +-----------------------------------------------------------
  A    | adj nc
       +-----------------------------------------------------------

       +-----------------------------------------------------------
  A    | adj nc
       +-----------------------------------------------------------



