~ubuntu-branches/ubuntu/trusty/pgbouncer/trusty

« back to all changes in this revision

Viewing changes to lib/usual/cfparser.h

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-06-18 13:11:40 UTC
  • mfrom: (20.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130618131140-56rsenkvnwnph94w
Tags: 1.5.4-4
Use PGUSER/PGPASSWORD in debian/tests/connect; unset TMPDIR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
bool cf_set_filename(struct CfValue *cv, const char *value);
146
146
/** Setter for int */
147
147
bool cf_set_int(struct CfValue *cv, const char *value);
 
148
/** Setter for unsigned int */
 
149
bool cf_set_uint(struct CfValue *cv, const char *value);
148
150
/** Setter for time-usec */
149
151
bool cf_set_time_usec(struct CfValue *cv, const char *value);
150
152
/** Setter for time-double */
156
158
const char *cf_get_str(struct CfValue *cv);
157
159
/** Getter for int */
158
160
const char *cf_get_int(struct CfValue *cv);
 
161
/** Getter for unsigned int */
 
162
const char *cf_get_uint(struct CfValue *cv);
159
163
/** Getter for time-usec */
160
164
const char *cf_get_time_usec(struct CfValue *cv);
161
165
/** Getter for time-double */
176
180
#define CF_FILE { cf_set_filename, cf_get_str }
177
181
/** Ops for integer */
178
182
#define CF_INT  { cf_set_int, cf_get_int }
 
183
/** Ops for unsigned integer */
 
184
#define CF_UINT { cf_set_uint, cf_get_uint }
179
185
/** Ops for boolean */
180
186
#define CF_BOOL { cf_set_int, cf_get_int }
181
187
/** Ops for time as usec */