Main Page | Modules | Data Structures | Directories | File List | Data Fields | Examples

catalog.h

00001 /*
00002  *  This library is free software; you can redistribute it and/or
00003  *  modify it under the terms of the GNU Lesser General Public
00004  *  License as published by the Free Software Foundation; either
00005  *  version 2 of the License, or (at your option) any later version.
00006  *
00007  *  This library is distributed in the hope that it will be useful,
00008  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00009  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00010  *  Lesser General Public License for more details.
00011  *
00012  *  You should have received a copy of the GNU General Public License
00013  *  along with this program; if not, write to the Free Software
00014  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00015  *  
00016  *  Copyright (C) 2005 Liam Girdwood, Radu Corlan  
00017  */
00018 
00019 #ifndef __LNC_CATALOG_H
00020 #define __LNC_CATALOG_H
00021 
00022 #include <stdio.h>
00023 
00024 #include <libncat/libncat.h>
00025 #include <libncat/list.h>
00026 #include <libncat/astro.h>
00027 #include <libncat/readme.h>
00028 #include <libncat/library.h>
00029 
00030 /* catalog load flags */
00031 #define LNC_REFRESH_CACHE       0x10    
00032 #define LNC_REFRESH_LOCAL       0x20    
00034 /* magic numbers */
00035 #define LNC_CAT_MAGIC           0x0  
00059 struct lnc_catalog {
00060         double ra_min;                          
00061         double ra_max;                          
00062         double dec_min;                         
00063         double dec_max;                     
00064         double mag_faint;                   
00065         double mag_bright;                  
00066         long private;                           
00067         int cat_size;                           
00068         char* cclass;                           
00069         char* cnum;                                     
00070     char* local_path;           
00071     char* remote_path;          
00072         lnc_library* lib;                       
00073     lnc_readme_info* info;      
00074     int num_dsets;              
00075     lnc_dlist* dsets;           
00076 };
00077 
00078 #endif

Generated on Tue Jul 5 14:34:14 2005 for libncat by  doxygen 1.4.2