OpenAFS
OpenAFS distributed network file system
/cygdrive/c/src/openafs/openafs.git/repo/src/platform/DARWIN/AFSPreference/TaskUtil.h
00001 //
00002 //  TaskUtil.h
00003 //  AFSCommander
00004 //
00005 //  Created by Claudio Bisegni on 25/06/07.
00006 //  Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved.
00007 //
00008 
00009 #import <Cocoa/Cocoa.h>
00010 #include <Security/Authorization.h>
00011 #include <Security/AuthorizationTags.h>
00012 
00013 @interface TaskUtil : NSObject {
00014 }
00015 +(NSString*) searchExecutablePath:(NSString*)unixCommand;
00016 +(NSString*) executeTaskSearchingPath:(NSString*)unixCommand args:(NSArray*)args;
00017 +(NSString*) executeTask:(NSString*) taskName arguments:(NSArray *)args;
00018 +(int) executeTaskWithAuth:(NSString*) taskName arguments:(NSArray *)args authExtForm:(NSData*)auth;
00019 +(int) executeTaskWithAuth:(NSString*) taskName arguments:(NSArray *)args helper:(NSString *)helper withAuthRef:(AuthorizationRef)authRef;
00020 @end
 All Data Structures Files Functions Variables