Develop and Download Open Source Software

Browse Subversion Repository

Contents of /bathyscaphe/trunk/frameworks/CocoMonar/framework/src/CMRHostTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1159 - (show annotations) (download) (as text)
Sun Mar 7 07:09:12 2010 UTC (14 years ago) by tsawada2
File MIME type: text/x-chdr
File size: 2031 byte(s)
CocoMonar Framework and CocoaOniguruma Framework are now 64-bit clean, and the base SDK changed to Mac OS X 10.5
1 //
2 // CMRHostTypes.h
3 // BathyScaphe
4 //
5 // Updated by Tsutomu Sawada on 10/03/07.
6 // Copyright 2005-2010 BathyScaphe Project. All rights reserved.
7 // encoding="UTF-8"
8 //
9
10 #ifndef HOSTTYPES_INCLUDED
11 #define HOSTTYPES_INCLUDED
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #import <Foundation/Foundation.h>
17
18 /*
19 2channel.brd compatibility
20 --------------------------------
21 http://jbbs.shitaraba.com/business/767/
22 -->
23 (host) jbbs.shitaraba.com
24 (path) jbbs.shitaraba.com/business
25 (directory) 767
26 */
27
28 // return temporary cstring
29 extern const char *CMRGetHostCStringFromBoardURL(NSURL *anURL, const char **bbs);
30 // return copied string
31 extern NSString *CMRGetHostStringFromBoardURL(NSURL *anURL, NSString **bbs);
32 /*
33 Deprecated in BathyScaphe 1.6 and later.
34 */
35 // return temporary string
36 //extern NSString *CMRGetHostStringFromBoardURLNoCopy(NSURL *anURL, NSString **bbs);
37
38
39
40
41 extern bool can_readcgi(const char *host);
42
43 // 2channel互換
44 extern bool is_2channel(const char *host);
45 /*
46 Deprecated in BathyScaphe 2.0 and later.
47 */
48 //extern bool is_be2ch(const char *host); // EUC エンコーディングが必要かどうかを判定する際に使う
49
50 // 書き込みに Be ログインが必須かどうかを判定する際に使う
51 extern bool is_2ch_belogin_needed(const char *host);
52
53 /*
54 Deprecated in BathyScaphe 2.0 and later.
55 Use is_jbbs_livedoor(const char *host) instead.
56 */
57 extern bool is_jbbs_shita(const char *host);
58
59 /*
60 Available in BathyScaphe 1.6 and later.
61 */
62 extern bool is_jbbs_livedoor(const char *host);
63 extern bool is_machi(const char *host);
64
65 /*
66 Deprecated in BathyScaphe 1.6 and later.
67 These BBSs has no longer been available recent years.
68 */
69 //extern bool is_jbbs(const char *host);
70 //extern bool is_shitaraba(const char *host);
71 //extern bool is_tanteifile(const char *host);
72
73 //extern bool can_offlaw(const char *host);
74 //extern bool kako_salad(const char *host, const char *bbs);
75 //extern bool bbs_qb(const char *host);
76
77
78
79
80
81 #ifdef __cplusplus
82 }
83 #endif
84
85 #endif /* HOSTTYPES_INCLUDED */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26