/** * This file is part of libsamsung-ipc. * * Copyright (C) 2010-2011 Joerie de Gram * * libsamsung-ipc 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 3 of the License, or * (at your option) any later version. * * libsamsung-ipc 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 libsamsung-ipc. If not, see . * */ #ifndef _UTIL_H_ #define _UTIL_H_ void hex_dump(void *data, int size); const char *plmn_lookup(const char *plmn); char *plmn_string(const char *plmn); void *mtd_read(char *mtd_name, int size, int block_size); void *file_read(char *file_name, int size, int block_size); #endif // vim:ts=4:sw=4:expandtab