/usr/include/litl_tools.h is in liblitl-dev 0.1.8-2+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /* -*- c-file-style: "GNU" -*- */
/*
* Copyright © Télécom SudParis.
* See COPYING in top-level directory.
*/
#ifndef LITL_TOOLS_H_
#define LITL_TOOLS_H_
/**
* \file litl_tools.h
* \brief litl_tools Provides a set of auxiliary functions
*
* \authors
* Developers are : \n
* Roman Iakymchuk -- roman.iakymchuk@telecom-sudparis.eu \n
* Francois Trahay -- francois.trahay@telecom-sudparis.eu \n
*/
#include<stdint.h>
#include "litl_types.h"
/**
* \defgroup litl_tools LiTL Auxiliary Functions
*/
/**
* \ingroup litl_tools
* \brief Returns the size of a regular event (in Bytes) depending on the number
* of its parameters
* \param nb_params A number of event's parameters
* \return A size of a regular event
*/
litl_size_t __litl_get_reg_event_size(litl_data_t nb_params);
/**
* \ingroup litl_tools
* \brief Returns the size of an event (in Bytes) depending on the number or size
* of its parameters
* \param type The type of event
* \param nb_params The number or size of parameters
* \return A size of a regular event
*/
litl_size_t __litl_get_event_size(litl_type_t type, int param_size);
/**
* \ingroup litl_tools
* \brief Returns the size of a general event (in Bytes) depending on its type
* and the number of its parameters
* \param p_evt A pointer to an event
* \return A size of a given event
*/
litl_size_t __litl_get_gen_event_size(litl_t *p_evt);
#endif /* LITL_TOOLS_H_ */
|