~ubuntu-branches/ubuntu/natty/transmission/natty

« back to all changes in this revision

Viewing changes to third-party/libevent/event.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-12-08 10:49:11 UTC
  • mfrom: (1.1.29 upstream) (2.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20091208104911-06gio45n2nla3vpg
Tags: 1.80~b1-0ubuntu1
* New upstream release (LP: #460620), rebased on debian unstable
  remaining changes:
  - debian/control:
    + Added replaces & provides clutch (now included as part of transmission).
      Can be removed in lucid+1
    + Added quilt, liblaunchpad-integration-dev and lsb-release to Build-Depends
  - debian/rules:
    + create a po template during package build.
  - debian/patches/01_lpi.patch:
    + integrate transmission with launchpad
  - debian/patches/20_add_x-ubuntu-gettext-domain.diff:
    + add x-ubuntu-gettext-domain to .desktop file.
  - debian/transmission-daemon.default:
    - remove --auth from OPTIONS
* Fixes bugs:
  - tray menu shows wrong status for "main window" when started minimized
    (LP: #451415)
* Refreshed patches:
  - dont_build_libevent.patch
  - 99_autoreconf.patch
* Removed patches:
  - 21_onPortTested.diff, 23_tr_torrentNext.diff and
    24_tr_torrentDeleteLocalData_do_move.diff
* debian/patches/21_fix_inhibition.patch:
  - The right value for suspend inhibition is 4
* debian/control:
  - Build-Depend on libgconf2-dev to enable magnet link registration and on
    libcanberra-gtk-dev for notification sound.
* debian/watch:
  - make it detect beta versions, to be removed after 1.80 is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
#endif /* !TAILQ_ENTRY */
210
210
 
211
211
struct event_base;
 
212
#ifndef EVENT_NO_STRUCT
212
213
struct event {
213
214
        TAILQ_ENTRY (event) ev_next;
214
215
        TAILQ_ENTRY (event) ev_active_next;
232
233
        int ev_res;             /* result passed to event callback */
233
234
        int ev_flags;
234
235
};
 
236
#else
 
237
struct event;
 
238
#endif
235
239
 
236
240
#define EVENT_SIGNAL(ev)        (int)(ev)->ev_fd
237
241
#define EVENT_FD(ev)            (int)(ev)->ev_fd
747
751
        size_t high;
748
752
};
749
753
 
 
754
#ifndef EVENT_NO_STRUCT
750
755
struct bufferevent {
751
756
        struct event_base *ev_base;
752
757
 
769
774
 
770
775
        short enabled;  /* events that are currently enabled */
771
776
};
772
 
 
 
777
#endif
773
778
 
774
779
/**
775
780
  Create a new bufferevent.