Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (14 sloc) 0.384 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* beanstalk.h - main header file */

#ifndef beanstalk_h
#define beanstalk_h

#define HOST INADDR_ANY
#define PORT 3232

#define CSTRSZ(m) (sizeof(m) - 1)

#define MSG_INSERTED "INSERTED\r\n"
#define MSG_ERR "NOT_INSERTED\r\n"

#define CMD_PUT "put "
#define CMD_PEEK "peek "
#define CMD_RESERVE "reserve "
#define CMD_DONE "done "
#define CMD_STATS "stats "

#endif /*beanstalk_h*/
Something went wrong with that request. Please try again.