X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fplatform%2FDARWIN%2FAFSPreference%2FAFSPropertyManager.h;h=0ed4cd42dd063a23ef32dde7cc1e85bd03093324;hp=0009387043d8be08b82b422b9be718ad7c2070b2;hb=0524e0d1915f519a76d62540b695abc16634d4c9;hpb=f0ce809181d19e865817200dab4fb8370bceeb59 diff --git a/src/platform/DARWIN/AFSPreference/AFSPropertyManager.h b/src/platform/DARWIN/AFSPreference/AFSPropertyManager.h index 0009387..0ed4cd4 100644 --- a/src/platform/DARWIN/AFSPreference/AFSPropertyManager.h +++ b/src/platform/DARWIN/AFSPreference/AFSPropertyManager.h @@ -13,8 +13,8 @@ #define AFS_DAEMON_STARTUPSCRIPT "/Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.rc" #define AFS_DAEMON_PATH "/Library/LaunchDaemons/org.openafs.filesystems.afs.plist" -#define AFS_FS_MOUNT "AFS" -#define AFS_DAEMON_LAUNCH_PATH "/private/var/db/openafs/etc/launchafs.sh" +#define AFS_FS_MOUNT "AFS" +#define AFS_LAUNCHCTL_GREP_STR "org.openafs.filesystems.afs" /*! @class AFSPropertyManager @abstract AFS Manage Class @@ -29,7 +29,7 @@ NSString *afsRootMountPoint; int statCacheEntry; int dCacheDim; - int cacheDimension; + int cacheDimension; int daemonNumber; int nVolEntry; bool dynRoot; @@ -253,7 +253,7 @@ @discussion The cache info is read from the file pointed by filePath param @param filePath file location for the CacheInfo */ --(void) readCacheInfo:(NSString*)filePath; +-(int) readCacheInfo:(NSString*)filePath; /*! @function writeCacheInfo @@ -278,20 +278,20 @@ @param filePath file path to afsd.option like file @result <#(description)#> */ --(void) readOldAfsdOption:(NSString*)filePath; +-(int) readOldAfsdOption:(NSString*)filePath; /*! @function readAFSDParamLineContent @abstract Try to decode one line of afsd.option or afs.conf @param paramLine one line of file afsd.option(the only one that is present) os afs.conf */ --(void) readAFSDParamLineContent:(NSString*)paramLine; +-(int) readAFSDParamLineContent:(NSString*)paramLine; /*! @function readNewAfsdOption @abstract Read the new afs.conf file format @discussion Scann every line f the afs.conf file ad for each one call the readAFSDParamLineContent with it's content @param filePath path of the new file with afs.conf file format */ --(void) readNewAfsdOption:(NSString*)filePath; +-(int) readNewAfsdOption:(NSString*)filePath; /*! @function writeAfsdOption @abstract <#(description)#>