c_tlm_binary.h
Go to the documentation of this file.
1 /*
2  * SocialLedge.com - Copyright (C) 2013
3  *
4  * This file is part of free software framework for embedded processors.
5  * You can use it and/or distribute it as long as this copyright header
6  * remains unmodified. The code is free for personal use and requires
7  * permission to use in a commercial product.
8  *
9  * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
10  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
12  * I SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
13  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
14  *
15  * You can reach the author of this software at :
16  * p r e e t . w i k i @ g m a i l . c o m
17  */
18 
19 #ifndef C_TLM_BINARY_H__
20 #define C_TLM_BINARY_H__
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 #include "c_tlm_comp.h"
25 
26 
27 
57 uint32_t tlm_binary_get_size_one(tlm_component *comp_ptr);
58 uint32_t tlm_binary_get_size_all(void);
69 uint32_t tlm_binary_get_one(tlm_component *comp_ptr, char *binary);
70 uint32_t tlm_binary_get_all(char *binary);
81 bool tlm_binary_compare_one(tlm_component *comp_ptr, char *binary);
82 bool tlm_binary_compare_all(char *binary);
87 #ifdef __cplusplus
88 }
89 #endif
90 #endif /* C_TLM_BINARY_H__ */
uint32_t tlm_binary_get_one(tlm_component *comp_ptr, char *binary)
Definition: c_tlm_binary.c:66
bool tlm_binary_compare_all(char *binary)
Definition: c_tlm_binary.c:115
uint32_t tlm_binary_get_all(char *binary)
Definition: c_tlm_binary.c:72
bool tlm_binary_compare_one(tlm_component *comp_ptr, char *binary)
Definition: c_tlm_binary.c:108
uint32_t tlm_binary_get_size_all(void)
Definition: c_tlm_binary.c:59
uint32_t tlm_binary_get_size_one(tlm_component *comp_ptr)
Definition: c_tlm_binary.c:53
Definition: c_tlm_comp.h:51