Files
秦宇航 c1b37d4482 更新白名单模式
更新白名单模式,现在基于全局模式下使用ACL文件分流
TODO 基于ACL的自动和回国模式
2017-05-07 12:58:18 +08:00

30 lines
564 B
Objective-C

//
// ProxyConfHelper.h
// ShadowsocksX-NG
//
// Created by 邱宇舟 on 16/6/10.
// Copyright © 2016年 qiuyuzhou. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GCDWebServer/GCDWebServer.h>
#import <GCDWebServer/GCDWebServerDataResponse.h>
@interface ProxyConfHelper : NSObject
+ (void)install;
+ (void)enablePACProxy:(NSString*) PACFilePath;
+ (void)enableGlobalProxy;
+ (void)disableProxy:(NSString*) PACFilePath;
+ (NSString*)startPACServer:(NSString*) PACFilePath;
+ (void)stopPACServer;
+ (void)enableWhiteListProxy;
@end