~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/pack.h

  • Committer: Brian Aker
  • Date: 2010-02-11 22:56:25 UTC
  • Revision ID: brian@gaz-20100211225625-63v3e79p78blva2u
Remove WEIGHT_STRING() from parser (where it does not belong). If someone
wants to they can reimplement this as a straight function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef PLUGIN_DRIZZLE_PROTOCOL_PACK_H
21
21
#define PLUGIN_DRIZZLE_PROTOCOL_PACK_H
22
22
 
23
 
namespace drizzle_protocol
24
 
{
 
23
#include <stdint.h>
25
24
 
26
25
#define NULL_LENGTH UINT32_MAX
27
26
 
28
 
uint32_t drizzleclient_net_field_length(unsigned char **packet);
29
 
uint64_t drizzleclient_drizzleclient_net_field_length_ll(unsigned char **packet);
30
 
unsigned char *drizzleclient_net_store_length(unsigned char *pkg, uint64_t length);
31
 
 
32
 
} /* namespace drizzle_protocol */
 
27
#ifdef __cplusplus
 
28
extern "C" {
 
29
#endif
 
30
 
 
31
  uint32_t drizzleclient_net_field_length(unsigned char **packet);
 
32
  uint64_t drizzleclient_drizzleclient_net_field_length_ll(unsigned char **packet);
 
33
  unsigned char *drizzleclient_net_store_length(unsigned char *pkg, uint64_t length);
 
34
 
 
35
#ifdef __cplusplus
 
36
}
 
37
#endif
33
38
 
34
39
#endif /* PLUGIN_DRIZZLE_PROTOCOL_PACK_H */