Develop and Download Open Source Software

Browse Subversion Repository

Diff of /bathyscaphe/trunk/frameworks/CocoMonar/framework/src/CMRHostTypes.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1695 by tsawada2, Sat May 3 05:49:09 2014 UTC revision 1816 by tsawada2, Mon Mar 23 07:07:18 2015 UTC
# Line 3  Line 3 
3  //  BathyScaphe  //  BathyScaphe
4  //  //
5  //  Updated by Tsutomu Sawada on 10/03/07.  //  Updated by Tsutomu Sawada on 10/03/07.
6  //  Copyright 2005-2014 BathyScaphe Project. All rights reserved.  //  Copyright 2005-2015 BathyScaphe Project. All rights reserved.
7  //  encoding="UTF-8"  //  encoding="UTF-8"
8  //  //
9    
# Line 155  bool is_2channel(const char *host) Line 155  bool is_2channel(const char *host)
155          return can_readcgi(host);          return can_readcgi(host);
156  }  }
157    
158    bool is_bbspink(const char *host)
159    {
160        if (host == NULL) {
161            return false;
162        }
163        if (strstr(host, ".bbspink.com")) {
164            return !strstr(host, "www.");
165        }
166        return false;
167    }
168    
169  bool is_2ch_except_pink(const char *host)  bool is_2ch_except_pink(const char *host)
170  {  {
171      if (host == NULL) {      if (host == NULL) {

Legend:
Removed from v.1695  
changed lines
  Added in v.1816

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