#include "common.h"
Go to the source code of this file.
Typedefs | |
typedef struct base2_st_ * | base2_handle |
Functions | |
my_rc_e | base2_increase_val1 (base2_handle base2_h) |
my_rc_e | base2_get_val1 (base2_handle base2_h, uint32_t *val1) |
void | base2_delete (base2_handle base2_h) |
const char * | base2_type_string (base2_handle base2_h) |
my_rc_e | base2_string (base2_handle base2_h, char *buffer, size_t buffer_size) |
my_rc_e | base2_string_size (base2_handle base2_h, size_t *buffer_size) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
This is the public interface for base2 class.
Definition in file base2.h.
typedef struct base2_st_* base2_handle |
void base2_delete | ( | base2_handle | base2_h | ) |
my_rc_e base2_get_val1 | ( | base2_handle | base2_h, |
uint32_t * | val1 | ||
) |
my_rc_e base2_increase_val1 | ( | base2_handle | base2_h | ) |
my_rc_e base2_string | ( | base2_handle | base2_h, |
char * | buffer, | ||
size_t | buffer_size | ||
) |
Get a string representation of the object. This is a virtual function.
base2_h | The object |
buffer | The buffer in which to put the string. |
buffer_size | The size of the buffer. |
my_rc_e base2_string_size | ( | base2_handle | base2_h, |
size_t * | buffer_size | ||
) |
Get the minimum size of a string buffer that should be used to get a string representation of the object. This is a virtual function.
base2_h | The object |
buffer_size | Outputs the size of the buffer that should be used. |
const char* base2_type_string | ( | base2_handle | base2_h | ) |