File: louisxml.pxd

package info (click to toggle)
liblouisxml 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,480 kB
  • sloc: sh: 10,349; ansic: 9,994; makefile: 654; xml: 228; python: 43
file content (23 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###############################################################################
# Copyright (C) 2009 Michael Whapples
#
# This module is free software; you can redistribute it and/or modify it under
# the terms of the Artistic License 2.0. For details, see the full text of the
# license in the file LICENSE.
#
# This module is distributed in the hope that it will be useful, but it is
# provided "as is" and without any express or implied warranties. For details,
# see the full text of the license in the file LICENSE.
###############################################################################


cdef extern from "liblouisxml.h":
    ctypedef char widechar
    char * lbx_version()
    void *lbx_initialize(char *configFileList, char *logFileName, char *settingsString)
    int lbx_translateString(char* configFileList, char *inbuf, widechar *outbuf, int *outlen, unsigned int mode)
    int lbx_translateFile(char *configFileList, char *inFileName, char *outFileName, unsigned int mode)
    int lbx_translateTextFile(char *configFileList, char *inFileName, char *outFileName, unsigned int mode)
    int lbx_backTranslateFile(char *configFileList, char *inFileName, char *outFileName, unsigned int mode)
    void lbx_free()