#define SWITCH_FOPEN_NOCLEANUP APR_FOPEN_NOCLEANUP /**< Do not register a cleanup when the file is opened */
#define SWITCH_FOPEN_SENDFILE_ENABLED APR_FOPEN_SENDFILE_ENABLED /**< Advisory flag that this file should support apr_socket_sendfile operation */
#define SWITCH_FOPEN_LARGEFILE APR_FOPEN_LAREFILE /**< Platform dependent flag to enable large file support */
-
-#define SWITCH_READ APR_READ /**< @deprecated @see SWITCH_FOPEN_READ */
/** @} */
/**
--- /dev/null
+/*
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com>
+ *
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ *
+ * The Initial Developer of the Original Code is
+ * Anthony Minessale II <anthmct@yahoo.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Anthony Minessale II <anthmct@yahoo.com>
+ * Michael Jerris <mike@jerris.com>
+ *
+ * switch_version.h -- Version Number Header
+ *
+ */
+
+#ifndef SWITCH_VERSION_H
+#define SWITCH_VERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define FREESWITCH_VERSION_MAJOR 1
+#define FREESWITCH_VERSION_MINOR 0
+#define FREESWITCH_VERSION_REVISION 288M
+#define FREESWITCH_VERSION_FULL FREESWITCH_VERSION_MAJOR.FREESWITCH_VERSION_MINOR.FREESWITCH_VERSION_REVISION
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+\r
--- /dev/null
+/*
+ * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ * Copyright (C) 2005/2006, Anthony Minessale II <anthmct@yahoo.com>
+ *
+ * Version: MPL 1.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
+ *
+ * The Initial Developer of the Original Code is
+ * Anthony Minessale II <anthmct@yahoo.com>
+ * Portions created by the Initial Developer are Copyright (C)
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Anthony Minessale II <anthmct@yahoo.com>
+ * Michael Jerris <mike@jerris.com>
+ *
+ * switch_version.h -- Version Number Header
+ *
+ */
+
+#ifndef SWITCH_VERSION_H
+#define SWITCH_VERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define FREESWITCH_VERSION_MAJOR 1
+#define FREESWITCH_VERSION_MINOR 0
+#define FREESWITCH_VERSION_REVISION
+#define FREESWITCH_VERSION_FULL FREESWITCH_VERSION_MAJOR.FREESWITCH_VERSION_MINOR.FREESWITCH_VERSION_REVISION
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
RelativePath="..\..\src\include\switch_utils.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\include\switch_version.h"\r
+ >\r
+ </File>\r
</Filter>\r
<Filter\r
Name="Resource Files"\r
ScriptDir=Left(WScript.ScriptFullName,Len(WScript.ScriptFullName)-Len(WScript.ScriptName))\r
\r
LibDestDir=Showpath(ScriptDir & "..\..\libs")\r
+FreeswitchDir=Showpath(ScriptDir & "..\..")\r
UtilsDir=Showpath(ScriptDir & "Tools")\r
GetTarGZObjects UtilsDir\r
GetVCBuild\r
' ******************\r
\r
If BuildCore Then\r
+ FSO.CopyFile FreeswitchDir & "src\include\switch_version.h.in", FreeswitchDir & "src\include\switch_version.h", true\r
+ VersionCmd="svnversion " & FreeswitchDir & " -n"\r
+ Set MyFile = fso.CreateTextFile(UtilsDir & "tmpVersion.Bat", True)\r
+ MyFile.WriteLine("@" & VersionCmd)\r
+ MyFile.Close\r
+ Set oExec = WshShell.Exec(UtilsDir & "tmpVersion.Bat")\r
+ Do\r
+ strFromProc = OExec.StdOut.ReadLine()\r
+ VERSION=strFromProc\r
+ Loop While Not OExec.StdOut.atEndOfStream\r
+\r
+ FindReplaceInFile FreeswitchDir & "src\include\switch_version.h", "#define FREESWITCH_VERSION_REVISION", "#define FREESWITCH_VERSION_REVISION " & VERSION\r
+\r
If Not FSO.FolderExists(LibDestDir & "include") Then\r
FSO.CreateFolder(LibDestDir & "include")\r
End If\r