~guadalinex-members/gnome-system-tools/gnome-system-tools-2.22.2

« back to all changes in this revision

Viewing changes to src/network/hosts.h

  • Committer: Juanje Ojeda Croissier
  • Date: 2009-04-06 15:47:26 UTC
  • Revision ID: jojeda@emergya.es-20090406154726-h29t5g1n1wwc4x2h
Tags: gnome-system-tools-2.22.2-0ubuntu3
Imported the g-s-t code directly from the source package gnome-system-tools-2.22.2-0ubuntu3 (jaunty)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */
 
2
/* Copyright (C) 2004 Carlos Garnacho
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as
 
6
 * published by the Free Software Foundation; either version 2 of the
 
7
 * License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 
17
 *
 
18
 * Authors: Carlos Garnacho Parro  <carlosg@gnome.org>
 
19
 */
 
20
 
 
21
#ifndef __HOSTS_H_
 
22
#define __HOSTS_H_
 
23
 
 
24
#include <gtk/gtk.h>
 
25
#include "network-tool.h"
 
26
 
 
27
enum {
 
28
  COL_HOST_IP,
 
29
  COL_HOST_ALIASES,
 
30
  COL_HOST_OBJECT,
 
31
  COL_HOST_ITER,
 
32
  COL_HOST_LAST
 
33
};
 
34
 
 
35
GtkTreeView*   host_aliases_list_create    (GstTool*);
 
36
void           host_aliases_add            (OobsStaticHost*, OobsListIter*);
 
37
void           host_aliases_run_dialog     (GstNetworkTool *network_tool,
 
38
                                            GtkTreeIter    *iter);
 
39
void           host_aliases_clear          (void);
 
40
void           host_aliases_check_fields   (void);
 
41
 
 
42
#endif /* __HOSTS_H_ */