mask_tools.cpp
Go to the documentation of this file.00001 /* 00002 * mask_tools.cpp 00003 * Created on 17 Mar 2005 00004 * Authors: 00005 * Wesley Leggette <wleggette@kaylix.net> 00006 * 00007 * 00008 * 00009 * libdarc 00010 * 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License as published by 00014 * the Free Software Foundation; either version 2 of the License, or 00015 * (at your option) any later version. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00025 * 00026 * $Id: mask__tools_8cpp-source.html 708 2005-03-21 12:30:37Z leggwes $ 00027 */ 00028 00034 #include "libdarc.h" 00035 #include "mask_tools.h" 00036 #if LIBDARC_HAVE_LIBDAR_HPP 00037 #include <dar/libdar.hpp> 00038 #endif 00039 00040 #if HAVE_MALLOC_H 00041 #include <malloc.h> 00042 #endif 00043 00044 #include <string> 00045 00046 NAMESPACE_LIBDAR_START 00047 00048 00049 00050 00051 00052 extern "C" int dar_mask_get_children(dar_mask* ref, dar_mask** children, int* size); 00053 00054 00055 00056 extern "C" dar_mask_type dar_mask_get_type(dar_mask* ref); 00057 00058 00059 extern "C" void dar_mask_get_content(dar_mask_content* cont); 00060 00061 00062 00063 00064 NAMESPACE_LIBDAR_END 00065