summaryrefslogtreecommitdiffstats
path: root/2023-2/E1/mitsuo/p2/fun.hpp
blob: c1ea51a4c8379b0c0734a4a2c047fc52914cbd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef FUN_HPP
#define FUN_HPP

#include <iostream>

#define MAXLEN      100
#define INCREMENTO  5

void cargarProductos(void *& productos, const char * archivo);
void pruebaDeCargaDeProductos(void * productos);

int cmp_productos(const void *lhs, const void *rhs);
void increase_size_productos(void **& ps, size_t &size);

#endif /* FUN_HPP */