![]() |
|
|||
0001 /** 0002 * 0003 * @file cltlib.c 0004 */ 0005 /* ----------------------------------------------------------------------------- 0006 * Enduro/X Middleware Platform for Distributed Transaction Processing 0007 * Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved. 0008 * Copyright (C) 2017-2023, Mavimax, Ltd. All Rights Reserved. 0009 * This software is released under one of the following licenses: 0010 * AGPL (with Java and Go exceptions) or Mavimax's license for commercial use. 0011 * See LICENSE file for full text. 0012 * ----------------------------------------------------------------------------- 0013 * AGPL license: 0014 * 0015 * This program is free software; you can redistribute it and/or modify it under 0016 * the terms of the GNU Affero General Public License, version 3 as published 0017 * by the Free Software Foundation; 0018 * 0019 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 0020 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 0021 * PARTICULAR PURPOSE. See the GNU Affero General Public License, version 3 0022 * for more details. 0023 * 0024 * You should have received a copy of the GNU Affero General Public License along 0025 * with this program; if not, write to the Free Software Foundation, Inc., 0026 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 0027 * 0028 * ----------------------------------------------------------------------------- 0029 * A commercial use license is available from Mavimax, Ltd 0030 * contact@mavimax.com 0031 * ----------------------------------------------------------------------------- 0032 */ 0033 0034 #include <ndrstandard.h> 0035 #include <atmi.h> 0036 #include <tperror.h> 0037 0038 #include "ndebug.h" 0039 /** 0040 * Currently do nothing, just for build 0041 */ 0042 void __dummy(void) 0043 { 0044 0045 } 0046 0047 0048 /** 0049 * API function tpreturn - TP Proto 0050 * @param rval 0051 * @param rcode 0052 * @param data 0053 * @param len 0054 * @param flags 0055 */ 0056 expublic void tpreturn (int rval, long rcode, char *data, long len, long flags) 0057 { 0058 ndrx_TPset_error_fmt(TPEPROTO, "tpreturn - not available for clients!!!"); 0059 return; 0060 } 0061 0062 /** 0063 * API function of tpforward - TP Proto 0064 * @param svc 0065 * @param data 0066 * @param len 0067 * @param flags 0068 */ 0069 expublic void tpforward (char *svc, char *data, long len, long flags) 0070 { 0071 ndrx_TPset_error_fmt(TPEPROTO, "tpforward - not available for clients!!!"); 0072 return; 0073 } 0074 0075 /** 0076 * exit from XATMI server - not for clients 0077 * For clients just terminate the process 0078 */ 0079 expublic void tpexit (void) 0080 { 0081 exit(EXFAIL); 0082 } 0083 0084 /* vim: set ts=4 sw=4 et smartindent: */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |