/* Copyright (C) 2008 Emmanuel Varoquaux This file is part of XOS. This program 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. This program 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 this program. If not, see . */ #ifndef OBJECT_REFERENCE_H #define OBJECT_REFERENCE_H struct object_reference_struct { const char *name; struct object_info_struct *object_info; struct object_reference_struct *next; }; struct object_reference_list_struct { struct object_reference_struct *first; }; void object_reference_list_init(struct object_reference_list_struct *object_reference_list); void object_reference_list_destroy(struct object_reference_list_struct *object_reference_list); struct object_reference_struct *object_reference_list_insert(struct object_reference_list_struct *object_reference_list, const char *name); #endif