/**************************************************************** * * * Copyright 2001, 2009 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * the license, please stop and do not read further. * * * ****************************************************************/ #ifndef __TRANS_LOG_NAME_H__ #define __TRANS_LOG_NAME_H__ typedef enum { dont_sendmsg_on_log2long = 0, do_sendmsg_on_log2long } translog_act; #ifdef UNIX int4 trans_log_name(mstr *log, mstr *trans, char *buffer, int4 buffer_len, translog_act do_sendmsg); # define TRANS_LOG_NAME(log, trans, buffer, buffer_len, do_sendmsg) trans_log_name(log, trans, buffer, buffer_len, do_sendmsg) #else int4 trans_log_name(mstr *log, mstr *trans, char *buffer); # define TRANS_LOG_NAME(log, trans, buffer, buffer_len, do_sendmsg) trans_log_name(log, trans, buffer) #endif #endif