summaryrefslogtreecommitdiff
path: root/camlibs/sonydscf1/command.h
blob: d4b5cdc45dc6689b4808f92fd0c4cf5565ff8329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __COMMAND_H__
#define __COMMAND_H__

#include "common.h"

void	F1setfd (GPPort*,int);
int	F1getfd  (GPPort*);
int	F1reset (GPPort*);
u_char checksum(u_char addr, u_char *cp, int len);
int     F1ok (GPPort*);
long F1getdata (GPPort*,char *, u_char *, int);
int	F1status (GPPort*,int);
char	F1newstatus (GPPort *port, int, char *);
int	F1howmany (GPPort *);
int     F1fopen (GPPort *,char *);
long F1fread(GPPort *,u_char *data, long len);
long F1fwrite(GPPort *,u_char *data, long len, u_char b);
long     F1fseek (GPPort *,long, int);
u_long     F1finfo (GPPort *,char *);
int	F1fclose (GPPort *);

int	F1deletepicture (GPPort*,int);
int F1ffs (GPPort*);

#endif /* __COMMAND_H__ */