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 1159 by tsawada2, Sun Mar 7 07:09:12 2010 UTC revision 1315 by tsawada2, Sat Feb 26 14:49:36 2011 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-2010 BathyScaphe Project. All rights reserved.  //  Copyright 2005-2011 BathyScaphe Project. All rights reserved.
7  //  encoding="UTF-8"  //  encoding="UTF-8"
8  //  //
9    
# Line 139  bool is_2channel(const char *host) Line 139  bool is_2channel(const char *host)
139          return can_readcgi(host);          return can_readcgi(host);
140  }  }
141    
142    bool is_2ch_except_pink(const char *host)
143    {
144        if (host == NULL) {
145            return false;
146        }
147            if (strstr(host, ".2ch.net")) {
148                    return !strstr(host, "tako") && !strstr(host, "piza.");
149        }
150        return false;
151    }
152        
153  bool is_2ch_belogin_needed(const char *host)  bool is_2ch_belogin_needed(const char *host)
154  {  {
155          if (host != NULL) {          if (host != NULL) {

Legend:
Removed from v.1159  
changed lines
  Added in v.1315

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