~ubuntu-branches/ubuntu/feisty/gnupg2/feisty

« back to all changes in this revision

Viewing changes to common/membuf.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-11-24 18:48:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061124184823-17ir9m46tl09n9k4
Tags: 2.0.0-4ubuntu1
* Synchronize to Debian, reapply remaining Ubuntu changes to pristine Debian
  version:
  - Remove libpcsclite-dev, libopensc2-dev build dependencies (they are in
    universe).

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
/* The definition of the structure is private, we only need it here,
26
26
   so it can be allocated on the stack. */
27
 
struct private_membuf_s {
 
27
struct private_membuf_s 
 
28
{
28
29
  size_t len;      
29
30
  size_t size;     
30
31
  char *buf;       
35
36
 
36
37
 
37
38
void init_membuf (membuf_t *mb, int initiallen);
 
39
void init_membuf_secure (membuf_t *mb, int initiallen);
38
40
void put_membuf  (membuf_t *mb, const void *buf, size_t len);
39
41
void *get_membuf (membuf_t *mb, size_t *len);
40
42