Commit afdc1291 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Replace 2 (!) local definitions with MimeMap header

Version 2.36. Tagged as 'LanManFS-2_36'
parent 5977e5ce
/* (2.35) /* (2.36)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 2.35 #define Module_MajorVersion_CMHG 2.36
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 15 Oct 2011 #define Module_Date_CMHG 14 Apr 2012
#define Module_MajorVersion "2.35" #define Module_MajorVersion "2.36"
#define Module_Version 235 #define Module_Version 236
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "15 Oct 2011" #define Module_Date "14 Apr 2012"
#define Module_ApplicationDate "15-Oct-11" #define Module_ApplicationDate "14-Apr-12"
#define Module_ComponentName "LanManFS" #define Module_ComponentName "LanManFS"
#define Module_ComponentPath "castle/RiscOS/Sources/Networking/Omni/Protocols/LanManFS" #define Module_ComponentPath "castle/RiscOS/Sources/Networking/Omni/Protocols/LanManFS"
#define Module_FullVersion "2.35" #define Module_FullVersion "2.36"
#define Module_HelpVersion "2.35 (15 Oct 2011)" #define Module_HelpVersion "2.36 (14 Apr 2012)"
#define Module_LibraryVersionInfo "2:35" #define Module_LibraryVersionInfo "2:36"
...@@ -27,8 +27,9 @@ ...@@ -27,8 +27,9 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#include "kernel.h" #include "kernel.h"
#include "swis.h"
#include "Interface/MimeMap.h"
#include "Global/FileTypes.h" #include "Global/FileTypes.h"
/* Our includes */ /* Our includes */
......
...@@ -26,10 +26,11 @@ ...@@ -26,10 +26,11 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include "swis.h"
#include "Interface/MimeMap.h"
#include "LanMan.h" #include "LanMan.h"
#include "stdtypes.h" #include "stdtypes.h"
#include "swis.h"
#include "Xlate.h" #include "Xlate.h"
#include "Attr.h" #include "Attr.h"
#include "Omni.h" #include "Omni.h"
......
...@@ -22,13 +22,6 @@ ...@@ -22,13 +22,6 @@
* *
*/ */
/* Mime mappings */
#define MimeMap_Translate 0x50B00
#define MMM_TYPE_RISCOS 0
#define MMM_TYPE_RISCOS_STRING 1
#define MMM_TYPE_MIME 2
#define MMM_TYPE_DOT_EXTN 3
extern err_t Attr_GetInfo ( char *pathname, char *leafname, extern err_t Attr_GetInfo ( char *pathname, char *leafname,
RISCOS_ATTRIBS *pRA ); RISCOS_ATTRIBS *pRA );
......
...@@ -52,13 +52,6 @@ extern void Xlt_NameDOStoRO ( char *riscos_dst, char *dos_src ); ...@@ -52,13 +52,6 @@ extern void Xlt_NameDOStoRO ( char *riscos_dst, char *dos_src );
#define NM_INTERNAL 4 /* Can't be selected at the CLI */ #define NM_INTERNAL 4 /* Can't be selected at the CLI */
/* Mime mappings */
#define MimeMap_Translate 0x50B00
#define MMM_TYPE_RISCOS 0
#define MMM_TYPE_RISCOS_STRING 1
#define MMM_TYPE_MIME 2
#define MMM_TYPE_DOT_EXTN 3
extern err_t Xlt_ExpandSearchEntry ( BYTE *entry, extern err_t Xlt_ExpandSearchEntry ( BYTE *entry,
char *DOS_pathname, char *DOS_pathname,
char *name_out, char *name_out,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment