00001 00011 /* 00012 * Copyright 2008 Red Hat Inc., Durham, North Carolina. 00013 * All Rights Reserved. 00014 * 00015 * This library is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU Lesser General Public 00017 * License as published by the Free Software Foundation; either 00018 * version 2.1 of the License, or (at your option) any later version. 00019 * 00020 * This library is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00023 * Lesser General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU Lesser General Public 00026 * License along with this library; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 * 00029 * Authors: 00030 * Lukas Kuklinek <lkuklinek@redhat.com> 00031 * Riley C. Porter <Riley.Porter@g2-inc.com> 00032 */ 00033 00034 00035 #ifndef _LIST_REFS_H 00036 #define _LIST_REFS_H 00037 00038 struct list_refs { 00039 struct list_refs *next; 00040 char *source; 00041 char *value; 00042 }; 00043 00044 void list_refs_add(struct list_refs *list, char *source, char *value); 00045 void list_refs_clear(struct list_refs *list); 00046 00047 #endif