netatalk
4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
hqx.h
Go to the documentation of this file.
1
#ifndef _HQX_H
2
#define _HQX_H 1
3
4
/* Forward Declarations */
5
struct
FHeader
;
6
7
int
skip_junk
(
int
line);
8
int
hqx_open
(
char
*hqxfile,
int
flags,
struct
FHeader
*fh,
int
options);
9
int
hqx_close
(
int
keepflag);
10
const
char
*
hqx_path
(
void
);
11
ssize_t
hqx_read
(
int
fork,
char
*
buffer
,
size_t
length);
12
ssize_t
hqx_write
(
int
fork,
char
*
buffer
,
size_t
length);
13
int
hqx_header_read
(
struct
FHeader
*fh);
14
int
hqx_header_write
(
struct
FHeader
*fh);
15
size_t
hqx_7tobin
(
char
*outbuf,
size_t
datalen);
16
ssize_t
hqx7_fill
(
unsigned
char
*hqx7_ptr);
17
18
#endif
/* _HQX_H */
hqx_header_write
int hqx_header_write(struct FHeader *fh)
Encode and write a BinHex header.
Definition
hqx.c:598
hqx_read
ssize_t hqx_read(int fork, char *buffer, size_t length)
Read decoded data from a BinHex fork.
Definition
hqx.c:394
hqx7_fill
ssize_t hqx7_fill(unsigned char *hqx7_ptr)
Fill the BinHex text input buffer.
Definition
hqx.c:679
hqx_close
int hqx_close(int keepflag)
Close the active BinHex file.
Definition
hqx.c:335
skip_junk
int skip_junk(int line)
Skip non-BinHex text until encoded data is found.
Definition
hqx.c:756
hqx_path
const char * hqx_path(void)
Definition
hqx.c:373
hqx_header_read
int hqx_header_read(struct FHeader *fh)
Read and validate a BinHex header.
Definition
hqx.c:471
hqx_open
int hqx_open(char *hqxfile, int flags, struct FHeader *fh, int options)
Open a BinHex file for reading or writing.
Definition
hqx.c:242
hqx_7tobin
size_t hqx_7tobin(char *outbuf, size_t datalen)
Decode BinHex text data to binary.
Definition
hqx.c:867
hqx_write
ssize_t hqx_write(int fork, char *buffer, size_t length)
Definition
hqx.c:638
buffer
char buffer[MAXPATHLEN+2]
Definition
netacnv.c:35
FHeader
Definition
megatron.h:59
bin
nad
hqx.h
Generated by
1.18.0