00001 /* 00002 * Microfeed - Backend for accessing feed-based services 00003 * Copyright (C) 2009 Henrik Hedberg <henrik.hedberg@innologies.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as published by 00007 * the Free Software Foundation. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with this program; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef MICROFEEDERROR_H 00020 #define MICROFEEDERROR_H 00021 00035 typedef struct _MicrofeedError MicrofeedError; 00036 00037 MicrofeedError* microfeed_error_new(const char* name, const char* message); 00038 void microfeed_error_free(MicrofeedError* error); 00039 const char* microfeed_error_get_name(MicrofeedError* error); 00040 const char* microfeed_error_get_message(MicrofeedError* error); 00041 00047 #endif