20221212
[devspec.git] / devspec.en_US / project / recutils / src / rec.c
blobeaa0d71e17ce81691d5fc844e0ce6fea6246c6f1
1 /* -*- mode: C -*-
3 * File: rec.c
4 * Date: Sun Oct 24 19:47:16 2010
6 * GNU recutils - Initialization and finalization routines.
8 */
10 /* Copyright (C) 2010-2019 Jose E. Marchesi */
12 /* This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26 #include <config.h>
28 #if defined REMOTE_DESCRIPTORS
29 # include <curl/curl.h>
30 #endif
32 #include <gettext.h>
34 #include <rec.h>
36 void
37 rec_init (void)
39 bindtextdomain (PACKAGE, LOCALEDIR);
40 #if defined REMOTE_DESCRIPTORS
41 curl_global_init (CURL_GLOBAL_ALL);
42 #endif
45 void
46 rec_fini (void)
48 #if defined REMOTE_DESCRIPTORS
49 curl_global_cleanup ();
50 #endif
53 /* End of rec.c */