test-gc.c

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2005 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 #ifdef HAVE_CONFIG_H
00021 # include <config.h>
00022 #endif
00023 
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include "gc.h"
00027 
00028 int
00029 main (int argc, char *argv[])
00030 {
00031   Gc_rc rc;
00032   char buf1[8], buf2[8];
00033 
00034   rc = gc_init ();
00035   if (rc != GC_OK)
00036     {
00037       printf ("gc_init() failed\n");
00038       return 1;
00039     }
00040 
00041   gc_done ();
00042 
00043   return 0;
00044 }

Generated on Tue Aug 22 12:06:07 2006 for gsasl by  doxygen 1.4.7