~ubuntu-branches/ubuntu/utopic/esorex/utopic-proposed

« back to all changes in this revision

Viewing changes to src/er_json.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2013-04-28 14:35:34 UTC
  • mfrom: (3.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130428143534-9gyps38nhxnderk8
Tags: 3.10-1
Change distribution to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: er_json.h,v 1.4 2013/02/22 10:43:37 cgarcia Exp $
 
2
 *
 
3
 * This file is part of the ESO Common Pipeline Library
 
4
 * Copyright (C) 2001-2006 European Southern Observatory
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 */
 
20
 
 
21
/*
 
22
 * $Author: cgarcia $
 
23
 * $Date: 2013/02/22 10:43:37 $
 
24
 * $Revision: 1.4 $
 
25
 * $Name: esorex-3_10 $
 
26
 */
 
27
 
 
28
#ifdef HAVE_CONFIG_H
 
29
#  include <config.h>
 
30
#endif
 
31
 
 
32
#ifndef ER_JSON_H
 
33
#define ER_JSON_H
 
34
 
 
35
#include "cpl.h"
 
36
 
 
37
CPL_BEGIN_DECLS
 
38
 
 
39
 
 
40
cpl_error_code er_frameset_to_json(const cpl_frameset * frameset, 
 
41
                                   const char* json_file);
 
42
cpl_error_code er_frameset_to_text(const cpl_frameset * frameset, 
 
43
                                   const char* text_file);
 
44
cpl_error_code er_recipe_parameterlist_to_json(const cpl_parameterlist * plist,
 
45
                                               const char * recipe_name,
 
46
                                               const char * json_file);
 
47
char * er_json_escape_string(const char * str);
 
48
 
 
49
 
 
50
#endif