#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <errno.h>
import <QuickLook/QuickLook.h>
import <Cocoa/Cocoa.h>
|
| static void | FromBufChar (char **buf, char *x) |
| static void | FromBufInt (char **buf, int *x) |
| static void | FromBufLL (char **buf, long long *x) |
| static void | FromBufShort (char **buf, short *x) |
| static void | FromBufStr (char **buf, char **str) |
| static void | FromBufUUID (char **buf, char **uuid, int versiondir) |
| static void | GetDateAndTime (unsigned int datetime, int *date, int *time) |
| static int | ReadBuffer (int fd, char *buffer, int len) |
| int | ReadFile (NSString *fullPath, NSMutableString *html, QLPreviewRequestRef preview) |
| static int | ReadHeader (int fd, struct FileHeader_t *fh, NSMutableString *html) |
| static int | ReadKeys (int fd, struct FileHeader_t *fh, NSMutableString *html, QLPreviewRequestRef preview) |
◆ FromBufChar()
| void FromBufChar |
( |
char ** | buf, |
|
|
char * | x ) |
|
static |
◆ FromBufInt()
| void FromBufInt |
( |
char ** | buf, |
|
|
int * | x ) |
|
static |
◆ FromBufLL()
| void FromBufLL |
( |
char ** | buf, |
|
|
long long * | x ) |
|
static |
◆ FromBufShort()
| void FromBufShort |
( |
char ** | buf, |
|
|
short * | x ) |
|
static |
◆ FromBufStr()
| void FromBufStr |
( |
char ** | buf, |
|
|
char ** | str ) |
|
static |
◆ FromBufUUID()
| void FromBufUUID |
( |
char ** | buf, |
|
|
char ** | uuid, |
|
|
int | versiondir ) |
|
static |
◆ GetDateAndTime()
| void GetDateAndTime |
( |
unsigned int | datetime, |
|
|
int * | date, |
|
|
int * | time ) |
|
static |
◆ ReadBuffer()
| int ReadBuffer |
( |
int | fd, |
|
|
char * | buffer, |
|
|
int | len ) |
|
static |
◆ ReadFile()
| int ReadFile |
( |
NSString * | fullPath, |
|
|
NSMutableString * | html, |
|
|
QLPreviewRequestRef | preview ) |
◆ ReadHeader()
◆ ReadKeys()
| int ReadKeys |
( |
int | fd, |
|
|
struct FileHeader_t * | fh, |
|
|
NSMutableString * | html, |
|
|
QLPreviewRequestRef | preview ) |
|
static |