Home | Develop | Download | Contact
pdsrautils.h
1 /*
2  * pdsrautils.h
3  *
4  * Copyright 2011 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
30 #ifndef __PDSRAUTILS_H__
31 #define __PDSRAUTILS_H__
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 #include <stdio.h>
38 #include <stdlib.h>
39 #include <string.h>
40 #include <pds/pdsraglobal.h>
41 
42 
50 #ifndef PDS_OK
51 
55  #define PDS_OK 1
56 #endif
57 
58 #ifndef PDS_WRONG
59 
63  #define PDS_WRONG 0
64 #endif
65 
71 #define __MAX_CHAR_DATA_SIZE__ 128
72 
86 
87 
88 
99 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
110 
unsigned int PdsRaNatural
Definition: pdsraglobal.h:59
int pds_load_number_of_columns_and_lines(FILE *fd, PdsRaNatural *nc, PdsRaNatural *nl)
Encuentra el número de columnas y de lineas dentro de un archivo. si el número de columnas no es cons...
int pds_load_number_of_elements(FILE *fd, PdsRaNatural *n)
Encuentra el número de elementos dentro de un archivo. Al terminar coloca el fd en el inicio del arch...

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed