~ubuntu-branches/ubuntu/quantal/pgbouncer/quantal-security

« back to all changes in this revision

Viewing changes to include/pktbuf.h

  • Committer: Package Import Robot
  • Author(s): Christoph Berg, Peter Eisentraut, Christoph Berg
  • Date: 2012-01-27 17:40:22 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120127174022-zrp5nr3h6lwi5l1e
Tags: 1.5-1
[ Peter Eisentraut ]
* Update watch file to allow .tar.gz in addition to .tgz
* Remove obsolete README.source and repack support in watch file

[ Christoph Berg ]
* New upstream release.
* Use start-stop-daemon for stopping the daemon.  Closes: #641568.
* Use pgbouncer -R to restart in place, thanks Cody Cutrer for the patch.
  Closes: #657204.
* Update URL in README.Debian.  Closes: #655283.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
/*
51
51
 * sending
52
52
 */
53
 
bool pktbuf_send_immidiate(PktBuf *buf, PgSocket *sk)   _MUSTCHECK;
 
53
bool pktbuf_send_immediate(PktBuf *buf, PgSocket *sk)   _MUSTCHECK;
54
54
bool pktbuf_send_queued(PktBuf *buf, PgSocket *sk)  _MUSTCHECK;
55
55
 
56
56
/*
116
116
} while (0)
117
117
 
118
118
/*
119
 
 * Shortcuts for immidiate send of one packet.
 
119
 * Shortcuts for immediate send of one packet.
120
120
 */
121
121
 
122
122
#define SEND_wrap(buflen, pktfn, res, sk, args...) do { \
123
123
        uint8_t _data[buflen]; PktBuf _buf; \
124
124
        pktbuf_static(&_buf, _data, sizeof(_data)); \
125
125
        pktfn(&_buf, ## args); \
126
 
        res = pktbuf_send_immidiate(&_buf, sk); \
 
126
        res = pktbuf_send_immediate(&_buf, sk); \
127
127
} while (0)
128
128
 
129
129
#define SEND_RowDescription(res, sk, args...) \