txManagerAvoid.h
上传用户:xfwatch
上传日期:2020-12-14
资源大小:872k
文件大小:1k
源码类别:

中间件编程

开发平台:

Java

  1. /*
  2.  * JBoss, Home of Professional Open Source
  3.  * Copyright 2009, Red Hat, Inc., and others contributors as indicated
  4.  * by the @authors tag. All rights reserved.
  5.  * See the copyright.txt in the distribution for a
  6.  * full listing of individual contributors.
  7.  * This copyrighted material is made available to anyone wishing to use,
  8.  * modify, copy, or redistribute it subject to the terms and conditions
  9.  * of the GNU Lesser General Public License, v. 2.1.
  10.  * This program is distributed in the hope that it will be useful, but WITHOUT A
  11.  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12.  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  13.  * You should have received a copy of the GNU Lesser General Public License,
  14.  * v.2.1 along with this distribution; if not, write to the Free Software
  15.  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  16.  * MA  02110-1301, USA.
  17.  */
  18. #ifndef _TXMANAGERAVOID_H
  19. #define _TXMANAGERAVOID_H
  20. extern int txManager_begin(void);
  21. extern int txManager_close(void);
  22. extern int txManager_commit(void);
  23. extern int txManager_open(void);
  24. extern int txManager_rollback(void);
  25. extern int txManager_set_commit_return(long);
  26. extern int txManager_set_transaction_control(long control);
  27. extern int txManager_set_transaction_timeout(long timeout);
  28. extern int txManager_info(void *);
  29. #endif