[Asterisk-cvs] asterisk/include/asterisk pbx.h,1.31,1.32

markster at lists.digium.com markster at lists.digium.com
Thu Nov 11 16:22:27 CST 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4537/include/asterisk

Modified Files:
	pbx.h 
Log Message:
Make timing stuff generic (bug #2839)


Index: pbx.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- pbx.h	24 Oct 2004 02:53:24 -0000	1.31
+++ pbx.h	11 Nov 2004 21:23:45 -0000	1.32
@@ -69,6 +69,17 @@
 	int (*matchmore)(struct ast_channel *chan, const char *context, const char *exten, int priority, const char *callerid, const char *data);
 };
 
+struct ast_timing {
+	int hastime;				/* If time construct exists */
+	unsigned int monthmask;			/* Mask for month */
+	unsigned int daymask;			/* Mask for date */
+	unsigned int dowmask;			/* Mask for day of week (mon-sun) */
+	unsigned int minmask[24];		/* Mask for minute */
+};
+
+extern int ast_build_timing(struct ast_timing *i, char *info);
+extern int ast_check_timing(struct ast_timing *i);
+
 struct ast_pbx {
         int dtimeout;                                   /* Timeout between digits (seconds) */
         int rtimeout;                                   /* Timeout for response




More information about the svn-commits mailing list