test-gc.c

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2005, 2006 Free Software Foundation
00003  * Written by Simon Josefsson
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 as published by
00007  * the Free Software Foundation; either version 2, or (at your option)
00008  * any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301, USA.  */
00019 
00020 #include <config.h>
00021 
00022 #include <stdio.h>
00023 #include <string.h>
00024 #include "gc.h"
00025 
00026 int
00027 main (int argc, char *argv[])
00028 {
00029   Gc_rc rc;
00030 
00031   rc = gc_init ();
00032   if (rc != GC_OK)
00033     {
00034       printf ("gc_init() failed\n");
00035       return 1;
00036     }
00037 
00038   gc_done ();
00039 
00040   return 0;
00041 }

Generated on Tue Oct 21 18:28:19 2008 for gsasl by  doxygen 1.5.6