perkeep/clients/ios-objc/photobackup/LACamliClient/LACamliUtil.h

24 lines
613 B
Objective-C

//
// 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;
+ (NSString*)passwordForUsername:(NSString*)username;
+ (BOOL)savePassword:(NSString*)password forUsername:(NSString*)username;
+ (NSString*)blobRef:(NSData*)data;
+ (NSString*)rfc3339StringFromDate:(NSDate*)date;
+ (void)logText:(NSArray*)logs;
+ (void)statusText:(NSArray*)statuses;
+ (void)errorText:(NSArray*)errors;
@end