~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/dynbuf.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-10-18 12:28:19 UTC
  • mfrom: (1.1.7 upstream) (2.4.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091018122819-00vqew6m0ztpqcqp
Tags: 2009.10.15-201664-1
MergingĀ upstreamĀ versionĀ 2009.10.15-201664.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
DynBuf_Copy(DynBuf *src,    // IN
71
71
            DynBuf *dest);  // OUT
72
72
 
 
73
void
 
74
DynBuf_SafeInternalAppend(DynBuf *b,            // IN
 
75
                          void const *data,     // IN
 
76
                          size_t size,          // IN
 
77
                          char const *file,     // IN
 
78
                          unsigned int lineno); // IN
 
79
 
 
80
#define DynBuf_SafeAppend(_buf, _data, _size) \
 
81
   DynBuf_SafeInternalAppend(_buf, _data, _size, __FILE__, __LINE__)
 
82
 
73
83
 
74
84
/*
75
85
 *-----------------------------------------------------------------------------