~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle_com.h

  • Committer: Jay Pipes
  • Date: 2008-08-05 18:43:30 UTC
  • mto: (264.1.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: jay@mysql.com-20080805184330-rooly59ksmwg0wnf
* Added include guards in a couple places, and removed unecessary
  conditional includes in older storage engine code
* Provided comments for included file in mysql_priv.h explaining 
  what each file brought into the include stream
* Added notes and TODOs where cleanup is still needed
* Removed unnecessary pragmas in similarly-named header/implementation
  files (C++ standard says they are unnecessary if implementation is 
  in a file named same as the header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
int32_t net_real_write(NET *net,const unsigned char *packet, size_t len);
353
353
uint32_t my_net_read(NET *net);
354
354
 
355
 
#ifdef _global_h
 
355
 
 
356
/** @TODO global.h is actually not needed here... only stdint and protocol.h */
 
357
#ifdef DRIZZLE_SERVER_GLOBAL_H
356
358
void my_net_set_write_timeout(NET *net, uint timeout);
357
359
void my_net_set_read_timeout(NET *net, uint timeout);
358
360
#endif
437
439
char *get_tty_password(const char *opt_message);
438
440
const char *drizzle_errno_to_sqlstate(unsigned int drizzle_errno);
439
441
 
440
 
 
441
 
#ifdef _global_h
 
442
/** @TODO Is it necessary to include all of drizzled/global.h here? */
 
443
#ifdef DRIZZLE_SERVER_GLOBAL_H
442
444
ulong STDCALL net_field_length(uchar **packet);
443
445
uint64_t net_field_length_ll(uchar **packet);
444
446
uchar *net_store_length(uchar *pkg, uint64_t length);