2013-12-05 05:57:44 +00:00
|
|
|
//
|
|
|
|
// LACamliUtil.h
|
|
|
|
// photobackup
|
|
|
|
//
|
|
|
|
// Created by Nick O'Neill on 11/29/13.
|
|
|
|
// Copyright (c) 2013 The Camlistore Authors. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@interface LACamliUtil : NSObject
|
|
|
|
|
|
|
|
+ (NSString *)base64EncodedStringFromString:(NSString *)string;
|
2013-12-13 18:57:43 +00:00
|
|
|
+ (NSString *)passwordForUsername:(NSString *)username;
|
|
|
|
+ (BOOL)savePassword:(NSString *)password forUsername:(NSString *)username;
|
2013-12-05 05:57:44 +00:00
|
|
|
+ (NSString *)blobRef:(NSData *)data;
|
|
|
|
+ (NSString *)rfc3339StringFromDate:(NSDate *)date;
|
2014-01-05 02:50:35 +00:00
|
|
|
|
|
|
|
+ (void)logText:(NSArray *)logs;
|
|
|
|
+ (void)statusText:(NSArray *)statuses;
|
|
|
|
+ (void)errorText:(NSArray *)errors;
|
2013-12-05 05:57:44 +00:00
|
|
|
|
|
|
|
@end
|