~ubuntu-branches/ubuntu/wily/lxpanel/wily-proposed

« back to all changes in this revision

Viewing changes to src/plugins/netstatus/netstatus-sysdeps.h

  • Committer: Package Import Robot
  • Author(s): Julien Lavergne
  • Date: 2015-01-31 15:30:45 UTC
  • mfrom: (1.3.3)
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: package-import@ubuntu.com-20150131153045-1r9i4602vrplnx3i
ImportĀ upstreamĀ versionĀ 0.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2003 Sun Microsystems, Inc.
3
 
 * Copyright (C) 2004 Red Hat Inc.
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, but
11
 
 * 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 License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18
 
 * 02111-1307, USA.
19
 
 *
20
 
 * Authors:
21
 
 *    Erwann Chenede  <erwann.chenede@sun.com>
22
 
 *    Mark McLoughlin  <mark@skynet.ie>  
23
 
 */
24
 
 
25
 
#ifndef __NETSTATUS_SYSDEPS_H__
26
 
#define __NETSTATUS_SYSDEPS_H__
27
 
 
28
 
#include <glib.h>
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
32
 
char *netstatus_sysdeps_read_iface_statistics       (const char *iface,
33
 
                                                     gulong     *in_packets,
34
 
                                                     gulong     *out_packets,
35
 
                                                     gulong     *in_bytes,
36
 
                                                     gulong     *out_bytes);
37
 
char *netstatus_sysdeps_read_iface_wireless_details (const char *iface,
38
 
                                                     gboolean   *is_wireless,
39
 
                                                     int        *signal_strength);
40
 
 
41
 
G_END_DECLS
42
 
 
43
 
#endif /* __NETSTATUS_SYSDEPS_H__ */