~ubuntu-branches/ubuntu/raring/grilo/raring

« back to all changes in this revision

Viewing changes to bindings/vala/grilo-net-0.1.vapi

  • Committer: Package Import Robot
  • Author(s): Alberto Garcia
  • Date: 2012-05-24 18:05:32 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120524180532-ccftaeh72upen313
Tags: 0.1.19-1
* New upstream release.
* Build using Vala 0.16:
  - debian/control: update build dependencies.
  - debian/rules: install Vala API files in /usr/share/vala/vapi.
  - debian/libgrilo-0.1-dev.install: update path of Vala API files.
* Create a new libgrilo-0.1-bin package and move grl-inspect-0.1 there.
  - debian/rules: rename manpage to match the binary name.
* Drop libgrilo-0.1-0.shlibs and use dh_makeshlibs to generate a shlibs
  file.
* Multi-arch support:
  - debian/compat: set compatibility level to 9.
  - debian/control: build depend on debhelper >= 9.
  - debian/control: Add Multi-Arch and Pre-Depends fields to
    libgrilo-0.1-0.
  - debian/libgrilo-0.1-{0,dev}.install: replace usr/lib/ with
    usr/lib/*/.
  - bump shlibs to 0.1.19 and break grilo-plugins-0.1 << 0.1.19.
* libgrilo-0.1-{0,bin}.lintian-overrides: ignore the
  hardening-no-stackprotector warning, Grilo does not use character
  arrays on the stack.
* debian/copyright: update copyright years and add section for Debian
  files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
[CCode (cprefix = "GrlNet", lower_case_cprefix = "grl_net_")]
4
4
namespace GrlNet {
5
 
        [CCode (cheader_filename = "net/grl-net.h")]
6
 
        public class Wc : GLib.Object {
7
 
                [CCode (has_construct_function = false)]
8
 
                public Wc ();
9
 
                public static GLib.Quark error_quark ();
10
 
                public void flush_delayed_requests ();
11
 
                public async bool request_async (string uri, GLib.Cancellable cancellable, out unowned string content, out unowned size_t? length = null) throws GLib.Error;
12
 
                public void set_cache (bool use_cache);
13
 
                public void set_cache_size (uint cache_size);
14
 
                public void set_log_level (uint log_level);
15
 
                public void set_throttling (uint throttling);
16
 
                [NoAccessorMethod]
17
 
                public bool cache { get; set construct; }
18
 
                [NoAccessorMethod]
19
 
                public uint cache_size { get; set construct; }
20
 
                [NoAccessorMethod]
21
 
                public uint loglevel { get; set; }
22
 
                [NoAccessorMethod]
23
 
                public uint throttling { get; set; }
24
 
        }
25
 
        [CCode (cheader_filename = "net/grl-net.h", cprefix = "GRL_NET_WC_ERROR_", has_type_id = false)]
26
 
        public enum WcError {
27
 
                UNAVAILABLE,
28
 
                PROTOCOL_ERROR,
29
 
                AUTHENTICATION_REQUIRED,
30
 
                NOT_FOUND,
31
 
                CONFLICT,
32
 
                FORBIDDEN,
33
 
                NETWORK_ERROR,
34
 
                PROXY_ERROR,
35
 
                CANCELLED
36
 
        }
37
5
}