mariadb/ft/ft_msg.h
Leif Walsh 3719bf2c2f [t:4901] merging brt->ft rename to main
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00

44 lines
1.2 KiB
C

/* -*- mode: C; c-basic-offset: 4 -*- */
/* The purpose of this file is to provide access to the ft_msg,
* which is the ephemeral version of the fifo_msg.
*/
#ifndef FT_MSG_H
#define FT_MSG_H
#ident "$Id$"
#ident "Copyright (c) 2007-2010 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#if defined(__cplusplus) || defined(__cilkplusplus)
extern "C" {
#endif
u_int32_t ft_msg_get_keylen(FT_MSG ft_msg);
u_int32_t ft_msg_get_vallen(FT_MSG ft_msg);
XIDS ft_msg_get_xids(FT_MSG ft_msg);
void * ft_msg_get_key(FT_MSG ft_msg);
void * ft_msg_get_val(FT_MSG ft_msg);
enum ft_msg_type ft_msg_get_type(FT_MSG ft_msg);
void ft_msg_from_fifo_msg(FT_MSG ft_msg, FIFO_MSG fifo_msg);
#if 0
void ft_msg_from_dbts(FT_MSG ft_msg, DBT *key, DBT *val, XIDS xids, enum ft_msg_type type);
#endif
#if defined(__cplusplus) || defined(__cilkplusplus)
};
#endif
#endif // FT_MSG_H