This commit is contained in:
2008-06-27 04:46:39 +00:00
parent d0018a31d6
commit dd55a09215
11 changed files with 667 additions and 84 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: macros.h 225 2008-06-26 06:48:38Z baconevi $
* $Id: macros.h 229 2008-06-26 10:46:39Z baconevi $
*
* {License}
*/
@ -162,7 +162,6 @@
#define ASE_TOUPPER(ccls,c) (ccls)->to_upper((ccls)->custom_data,c)
#define ASE_TOLOWER(ccls,c) (ccls)->to_lower((ccls)->custom_data,c)
#ifdef __cplusplus
#define ASE_BEGIN_NAMESPACE(x) namespace x {
#define ASE_END_NAMESPACE(x) }

View File

@ -1,6 +1,6 @@
# EXTRA_DIST = README
SUBDIRS = cmn awk lsp utl
SUBDIRS = cmn awk lsp tgp utl
pkginclude_HEADERS = config.h.in conf_msw.h conf_vms.h types.h macros.h pack1.h unpack.h

37
ase/include/ase/tgp/tgp.h Normal file
View File

@ -0,0 +1,37 @@
/*
* $Id: tgp.h 229 2008-06-26 10:46:39Z baconevi $
*
* {License}
*/
#ifndef _ASE_TGP_TGP_H_
#define _ASE_TGP_TGP_H_
#include <ase/types.h>
#include <ase/macros.h>
typedef struct ase_tgp_t ase_tgp_t;
enum ase_tgp_iocmd_t
{
ASE_TGP_IO_OPEN = 0,
ASE_TGP_IO_CLOSE = 1,
ASE_TGP_IO_READ = 2,
ASE_TGP_IO_WRITE = 3
};
typedef ase_ssize_t (*ase_tgp_io_t) (
int cmd, void* arg, ase_char_t* data, ase_size_t count);
#ifdef __cplusplus
extern "C" {
#endif
ase_tgp_t* ase_tgp_open (ase_mmgr_t* mmgr);
void ase_tgp_close (ase_tgp_t* tgp);
#ifdef __cplusplus
}
#endif
#endif