~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_compress.c

  • Committer: Brian Aker
  • Date: 2008-07-13 18:27:33 UTC
  • Revision ID: brian@tangent.org-20080713182733-3u1et5nrmofi8a8n
my_bool cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
     0   ok.  In this case 'len' contains the size of the compressed packet
35
35
*/
36
36
 
37
 
my_bool my_compress(uchar *packet, size_t *len, size_t *complen)
 
37
bool my_compress(uchar *packet, size_t *len, size_t *complen)
38
38
{
39
39
  DBUG_ENTER("my_compress");
40
40
  if (*len < MIN_COMPRESS_LENGTH)
103
103
              real data.
104
104
*/
105
105
 
106
 
my_bool my_uncompress(uchar *packet, size_t len, size_t *complen)
 
106
bool my_uncompress(uchar *packet, size_t len, size_t *complen)
107
107
{
108
108
  uLongf tmp_complen;
109
109
  DBUG_ENTER("my_uncompress");