~ubuntu-branches/debian/sid/guake-indicator/sid

« back to all changes in this revision

Viewing changes to src/guake-indicator-xml.h

  • Committer: Package Import Robot
  • Author(s): Alessio Garzi, Sylvestre Ledru
  • Date: 2014-12-31 14:43:00 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20141231144300-ge83o3cpvmteu55s
Tags: 1.1-1
* new upstream release
  - commands are now fully customizable (LP: #1337277 and LP: #1340917)

[ Sylvestre Ledru ]
* Standards-Version updated 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (C) 2013-2015 Alessio Garzi <gun101@email.it>
 
3
Copyright (C) 2013-2015 Francesco Minà <mina.francesco@gmail.com>
 
4
 
 
5
This program is free software; you can redistribute it and/or
 
6
modify it under the terms of the GNU General Public License as
 
7
published by the Free Software Foundation; either version 2 of the
 
8
License, or (at your option) any later version.
 
9
 
 
10
This program is distributed in the hope that it will be useful,
 
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
General Public License for more details.
 
14
 
 
15
You should have received a copy of the GNU General Public
 
16
License along with this program; if not, write to the
 
17
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
Boston, MA 02111-1307, USA.
 
19
*/
 
20
 
 
21
#include <libxml/parser.h>
 
22
#include <libxml/xpath.h>
 
23
 #include <strings.h>
 
24
 
 
25
#define GUAKE_INDICATOR_DEFAULT_FILEXML "guake-indicator.xml"
 
26
#define ENCODING "UTF-8"
 
27
 
 
28
Host* create_new_host(HostGroup*, Host* ,const gchar* ,const gchar* ,const gchar* ,gboolean ,const gchar*,gboolean ,gboolean,gboolean,gboolean,gboolean );
 
29
gboolean check_xml_cfg_file_presence();
 
30
int write_xml_cfg_file(GArray*);
 
31
int write_xml_cfg_file_from_file(GArray*,char*);
 
32
GArray* read_xml_cfg_file();
 
33
GArray* read_xml_cfg_file_from_file(char* );