/[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 1 by dpavlin, Sun Aug 17 22:17:40 2008 UTC revision 9 by dpavlin, Sun Aug 17 22:58:23 2008 UTC
# Line 11  MODULE = Search::TokyoDystopia         PACKAGE Line 11  MODULE = Search::TokyoDystopia         PACKAGE
11  PROTOTYPES: DISABLE  PROTOTYPES: DISABLE
12    
13  const char *  const char *
14  tcidberrmsg(ecode)  errmsg(ecode)
15          int     ecode          int     ecode
16  CODE:  CODE:
17          RETVAL = tchdberrmsg(ecode);          RETVAL = tcidberrmsg(ecode);
18  OUTPUT:  OUTPUT:
19          RETVAL          RETVAL
20    
21    
22    void *
23    new()
24    PREINIT:
25            TCIDB *db;
26    CODE:
27            db = tcidbnew();
28            RETVAL = db;
29    OUTPUT:
30            RETVAL
31    
32    
33    void
34    del(db)
35            void *  db
36    CODE:
37            tcidbdel(db);
38    
39    
40    int
41    ecode(db)
42            void *  db
43    CODE:
44            RETVAL = tcidbecode(db);
45    OUTPUT:
46            RETVAL
47    
48    
49    int
50    tune(db, ernum, etnum, iusiz, opts)
51            void *  db
52            int     ernum
53            int     etnum
54            int     iusiz
55            int     opts
56    CODE:
57            RETVAL = tcidbtune(db, ernum, etnum, iusiz, opts);
58    OUTPUT:
59            RETVAL
60    
61    
62    int
63    setcache(db, icsiz, lcnum)
64            void *  db
65            int     icsiz
66            int     lcnum
67    CODE:
68            RETVAL = tcidbsetcache(db, icsiz, lcnum);
69    OUTPUT:
70            RETVAL
71    
72    
73    int
74    setfwmmax(db, fwmax)
75            void *  db
76            int     fwmax
77    CODE:
78            RETVAL = tcidbsetfwmmax(db, fwmax);
79    OUTPUT:
80            RETVAL
81    
82    

Legend:
Removed from v.1  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26