[Asterisk-cvs] asterisk/include/asterisk localtime.h,NONE,1.1 pbx.h,1.9,1.10 say.h,1.1.1.2,1.2
markster at lists.digium.com
markster at lists.digium.com
Sat Sep 13 15:50:40 CDT 2003
- Previous message: [Asterisk-cvs] asterisk/apps app_voicemail2.c,1.47,1.48
- Next message: [Asterisk-cvs] asterisk/stdtime Makefile,NONE,1.1 localtime.c,NONE,1.1 private.h,NONE,1.1 test.c,NONE,1.1 tzfile.h,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv28534/include/asterisk
Modified Files:
pbx.h say.h
Added Files:
localtime.h
Log Message:
CLeanup PBX patch and add localtime stuff for saytime (bug #168)
--- NEW FILE: localtime.h ---
/*
* Asterisk -- A telephony toolkit for Linux.
*
* Custom localtime functions for multiple timezones
*
* Copyright (C) 2003, Mark Spencer
*
* Tilghman Lesher <tlesher at vcch.com>
*
* This program is free software, distributed under the terms of
* the GNU General Public License
*/
#ifndef _ASTERISK_LOCALTIME_H
#define _ASTERISK_LOCALTIME_H
extern int ast_tzsetwall(void);
extern void ast_tzset(const char *name);
extern struct tm *ast_localtime(const time_t *timep, struct tm *p_tm, const char *zone);
extern time_t ast_mktime(struct tm * const tmp, const char *zone);
#endif
Index: pbx.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pbx.h 25 Aug 2003 22:40:14 -0000 1.9
+++ pbx.h 13 Sep 2003 20:51:48 -0000 1.10
@@ -523,6 +523,8 @@
extern void pbx_builtin_clear_globals(void);
extern void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count);
+int ast_extension_patmatch(const char *pattern, const char *data);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
Index: say.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/say.h,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -d -r1.1.1.2 -r1.2
--- say.h 23 Feb 2003 06:00:11 -0000 1.1.1.2
+++ say.h 13 Sep 2003 20:51:48 -0000 1.2
@@ -69,6 +69,8 @@
int ast_say_datetime_from_now(struct ast_channel *chan, time_t t, char *ints, char *lang);
+int ast_say_date_with_format(struct ast_channel *chan, time_t t, char *ints, char *lang, char *format, char *timezone);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
- Previous message: [Asterisk-cvs] asterisk/apps app_voicemail2.c,1.47,1.48
- Next message: [Asterisk-cvs] asterisk/stdtime Makefile,NONE,1.1 localtime.c,NONE,1.1 private.h,NONE,1.1 test.c,NONE,1.1 tzfile.h,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list