~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to libgearman-1.0/gearman.h

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
#pragma once
46
46
 
47
 
#include <inttypes.h>
48
 
#ifndef __cplusplus
 
47
/* This seems to be required for older compilers @note http://stackoverflow.com/questions/8132399/how-to-printf-uint64-t  */
 
48
#define __STDC_FORMAT_MACROS
 
49
 
 
50
#ifdef __cplusplus
 
51
#  include <tr1/cinttypes>
 
52
#  include <cstddef>
 
53
#  include <cstdlib>
 
54
#  include <ctime>
 
55
#else
 
56
#  include <inttypes.h>
49
57
#  include <stdbool.h>
 
58
#  include <stddef.h>
 
59
#  include <stdlib.h>
 
60
#  include <time.h>
50
61
#endif
 
62
 
51
63
#include <netinet/in.h>
52
64
#include <sys/socket.h>
53
65
#include <netdb.h>
54
66
#include <arpa/inet.h>
55
67
#include <poll.h>
56
68
#include <sys/uio.h>
57
 
#include <time.h>
58
69
 
59
70
#include <libgearman-1.0/visibility.h>
60
71
#include <libgearman-1.0/version.h>