|
|
1.1 ! root 1: /* dat_rec.h */ ! 2: ! 3: /* Synchronet text data access routines (exported) */ ! 4: ! 5: /* $Id: dat_rec.h,v 1.1 2002/07/27 02:09:02 rswindell Exp $ */ ! 6: ! 7: /**************************************************************************** ! 8: * @format.tab-size 4 (Plain Text/Source Code File Header) * ! 9: * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * ! 10: * * ! 11: * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * ! 12: * * ! 13: * This program is free software; you can redistribute it and/or * ! 14: * modify it under the terms of the GNU General Public License * ! 15: * as published by the Free Software Foundation; either version 2 * ! 16: * of the License, or (at your option) any later version. * ! 17: * See the GNU General Public License for more details: gpl.txt or * ! 18: * http://www.fsf.org/copyleft/gpl.html * ! 19: * * ! 20: * Anonymous FTP access to the most recent released source is available at * ! 21: * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * ! 22: * * ! 23: * Anonymous CVS access to the development source and modification history * ! 24: * is available at cvs.synchro.net:/cvsroot/sbbs, example: * ! 25: * cvs -d :pserver:[email protected]:/cvsroot/sbbs login * ! 26: * (just hit return, no password is necessary) * ! 27: * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src * ! 28: * * ! 29: * For Synchronet coding style and modification guidelines, see * ! 30: * http://www.synchro.net/source.html * ! 31: * * ! 32: * You are encouraged to submit any modifications (preferably in Unix diff * ! 33: * format) via e-mail to [email protected] * ! 34: * * ! 35: * Note: If this box doesn't appear square, then you need to fix your tabs. * ! 36: ****************************************************************************/ ! 37: ! 38: #ifndef _DAT_REC_H ! 39: #define _DAT_REC_H ! 40: ! 41: #ifdef DLLEXPORT ! 42: #undef DLLEXPORT ! 43: #endif ! 44: #ifdef DLLCALL ! 45: #undef DLLCALL ! 46: #endif ! 47: ! 48: #ifdef _WIN32 ! 49: #ifdef SBBS_EXPORTS ! 50: #define DLLEXPORT __declspec(dllexport) ! 51: #else ! 52: #define DLLEXPORT __declspec(dllimport) ! 53: #endif ! 54: #ifdef __BORLANDC__ ! 55: #define DLLCALL __stdcall ! 56: #else ! 57: #define DLLCALL ! 58: #endif ! 59: #else ! 60: #define DLLEXPORT ! 61: #define DLLCALL ! 62: #endif ! 63: ! 64: #ifdef __cplusplus ! 65: extern "C" { ! 66: #endif ! 67: ! 68: DLLEXPORT void DLLCALL getrec(char *instr,int start,int length,char *outstr); /* Retrieve a record from a string */ ! 69: DLLEXPORT void DLLCALL putrec(char *outstr,int start,int length,char *instr); /* Place a record into a string */ ! 70: ! 71: #ifdef __cplusplus ! 72: } ! 73: #endif ! 74: ! 75: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.