/[Search-TokyoDystopia]/TokyoDystopia.xs
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /TokyoDystopia.xs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by dpavlin, Sun Aug 17 22:27:23 2008 UTC revision 15 by dpavlin, Mon Aug 18 17:26:01 2008 UTC
# Line 14  const char * Line 14  const char *
14  tcidberrmsg(ecode)  tcidberrmsg(ecode)
15          int     ecode          int     ecode
16  CODE:  CODE:
17          RETVAL = tchdberrmsg(ecode);          RETVAL = tcidberrmsg(ecode);
18  OUTPUT:  OUTPUT:
19          RETVAL          RETVAL
20    
# Line 22  OUTPUT: Line 22  OUTPUT:
22  void *  void *
23  tcidbnew()  tcidbnew()
24  PREINIT:  PREINIT:
25          TCIDB *db;          TCIDB *idb;
26  CODE:  CODE:
27          db = tcidbnew();          idb = tcidbnew();
28          RETVAL = db;          RETVAL = idb;
29  OUTPUT:  OUTPUT:
30          RETVAL          RETVAL
31    
32    
33  void  void
34  tcidbdel(db)  tcidbdel(idb)
35          void *  db          void *  idb
36  CODE:  CODE:
37          tcidbdel(db);          tcidbdel(idb);
38    
39    
40    int
41    tcidbecode(idb)
42            void *  idb
43    CODE:
44            RETVAL = tcidbecode(idb);
45    OUTPUT:
46            RETVAL
47    
48    
49    int
50    tcidbtune(idb, ernum, etnum, iusiz, opts)
51            void *  idb
52            int     ernum
53            int     etnum
54            int     iusiz
55            int     opts
56    CODE:
57            RETVAL = tcidbtune(idb, ernum, etnum, iusiz, opts);
58    OUTPUT:
59            RETVAL
60    
61    
62    int
63    tcidbsetcache(idb, icsiz, lcnum)
64            void *  idb
65            int     icsiz
66            int     lcnum
67    CODE:
68            RETVAL = tcidbsetcache(idb, icsiz, lcnum);
69    OUTPUT:
70            RETVAL
71    
72    
73    int
74    tcidbsetfwmmax(idb, fwmax)
75            void *  idb
76            int     fwmax
77    CODE:
78            RETVAL = tcidbsetfwmmax(idb, fwmax);
79    OUTPUT:
80            RETVAL
81    
82    
83    int
84    tcidbopen(idb, path, omode)
85            void *  idb
86            char *  path
87            int     omode
88    CODE:
89            RETVAL = tcidbopen(idb, path, omode);
90    OUTPUT:
91            RETVAL
92    
93    
94    int
95    tcidbclose(idb)
96            void *  idb
97    CODE:
98            RETVAL = tcidbclose(idb);
99    OUTPUT:
100            RETVAL
101    
102    
103    int
104    tcidbput(idb, id, val)
105            void *  idb
106            int     id
107            SV *    val
108    PREINIT:
109            STRLEN vsiz;
110            const char *vbuf;
111    CODE:
112            vbuf = SvPV(val, vsiz);
113            RETVAL = tcidbput(idb, id, vbuf);
114    OUTPUT:
115            RETVAL
116    
117    
118    int
119    tcidbout(idb, id)
120            void *  idb
121            int     id
122    CODE:
123            RETVAL = tcidbout(idb, id);
124    OUTPUT:
125            RETVAL
126    

Legend:
Removed from v.3  
changed lines
  Added in v.15

  ViewVC Help
Powered by ViewVC 1.1.26