~ubuntu-branches/ubuntu/lucid/gnome-media/lucid

« back to all changes in this revision

Viewing changes to cddb-slave2/gnet.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-07-28 09:49:30 UTC
  • mfrom: (0.1.33 upstream)
  • Revision ID: james.westby@ubuntu.com-20090728094930-2atfxgwqd0wj55ph
Tags: 2.27.5-0ubuntu1
* New upstream release
  - General:
    + vumeter, gnome-cd and cddb-slave have been removed
  - gnome-volume-control
    + Add card and port selection (Bastien Nocera)
    + Excessive CPU usage when trying to reconnect to PulseAudio (Chris Coulson)
    + Many fixes (Bastien Nocera)
  - Updated translations:
    + es (Jorge González)
    + et (Ivar Smolin)
    + fi (Ilkka Tuohela)
    + gu (Sweta Kothari)
    + he (Yaron Shahrabani)
    + hu (Gabor Kelemen)
    + pt_BR (André Gondim)
    + sv (Daniel Nylander)
    + ta (Dr.T.Vasudevan)
    + zh_HK (Chao-Hsiung Liao)
    + zh_TW (Chao-Hsiung Liao)
* debian/rules: Remove configure flags to disable cddb-slave and gnome-cd
* 01_vumeter_nodisplay.patch: Dropped, as vumeter has been removed
* 03_menu_changes.patch: Removed references to gnome-cd and vumeter files
* 99_autoconf.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* GNet - Networking library
2
 
 * Copyright (C) 2000  David Helder
3
 
 * Copyright (C) 2000  Andrew Lanoix
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Library General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library 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
 
 * Library General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Library General Public
16
 
 * License along with this library; if not, write to the
17
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
 * Boston, MA  02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef _GNET_H
22
 
#define _GNET_H
23
 
 
24
 
#include <glib.h>
25
 
 
26
 
#include "inetaddr.h"
27
 
#include "iochannel.h"
28
 
#include "socks.h"
29
 
#include "tcp.h"
30
 
 
31
 
#ifdef __cplusplus
32
 
extern "C" {
33
 
#endif /* __cplusplus */
34
 
 
35
 
#ifdef GNET_WIN32
36
 
#  define GNET_EXPORT extern __declspec(dllimport)
37
 
#else
38
 
#  define GNET_EXPORT extern
39
 
#endif
40
 
 
41
 
GNET_EXPORT const guint gnet_major_version;
42
 
GNET_EXPORT const guint gnet_minor_version;
43
 
GNET_EXPORT const guint gnet_micro_version;
44
 
GNET_EXPORT const guint gnet_interface_age;
45
 
GNET_EXPORT const guint gnet_binary_age;
46
 
 
47
 
/**
48
 
 *  GNET_CHECK_VERSION:
49
 
 *  @major: Major version number
50
 
 *  @minor: Minor version number
51
 
 *  @micro: Micro version number
52
 
 *
53
 
 *  Check if the version given is compatable with this version of the
54
 
 *  library.  For example, GNET_CHECK_VERSION(1.2.3) would return TRUE
55
 
 *  if the version is 1.2.5, and FALSE if 1.1.0.
56
 
 *
57
 
 **/
58
 
#define GNET_CHECK_VERSION(major,minor,micro)    \
59
 
    (GNET_MAJOR_VERSION > (major) || \
60
 
     (GNET_MAJOR_VERSION == (major) && GNET_MINOR_VERSION > (minor)) || \
61
 
     (GNET_MAJOR_VERSION == (major) && GNET_MINOR_VERSION == (minor) && \
62
 
      GNET_MICRO_VERSION >= (micro)))
63
 
 
64
 
 
65
 
 
66
 
#ifdef __cplusplus
67
 
}
68
 
#endif                          /* __cplusplus */
69
 
 
70
 
#endif /* _GNET_H */