~ubuntu-branches/ubuntu/vivid/udt/vivid-proposed

« back to all changes in this revision

Viewing changes to src/packet.h

  • Committer: Package Import Robot
  • Author(s): Jon Bernard
  • Date: 2013-07-01 20:36:23 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130701203623-2tncenh97w26czr0
Tags: 4.11+dfsg-1
* [eb258e1] New upstream version 4.11+dfsg
* [d573fb0] Bump Standards-Version to 3.9.4, no changes required
* [a45e89b] Update VCS URIs

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
      // Returned value:
90
90
      //    None.
91
91
 
92
 
   void setLength(const int& len);
 
92
   void setLength(int len);
93
93
 
94
94
      // Functionality:
95
95
      //    Pack a Control packet.
101
101
      // Returned value:
102
102
      //    None.
103
103
 
104
 
   void pack(const int& pkttype, void* lparam = NULL, void* rparam = NULL, const int& size = 0);
 
104
   void pack(int pkttype, void* lparam = NULL, void* rparam = NULL, int size = 0);
105
105
 
106
106
      // Functionality:
107
107
      //    Read the packet vector.
202
202
   CHandShake();
203
203
 
204
204
   int serialize(char* buf, int& size);
205
 
   int deserialize(const char* buf, const int& size);
 
205
   int deserialize(const char* buf, int size);
206
206
 
207
207
public:
208
208
   static const int m_iContentSize;     // Size of hand shake data