23 lines
761 B
C
23 lines
761 B
C
/* nwarchive.h - mars_nwe private archive metadata helpers */
|
|
#ifndef _NWARCHIVE_H_
|
|
#define _NWARCHIVE_H_
|
|
|
|
#include "net.h"
|
|
|
|
#define MARS_NWE_ARCHIVE_HAS_DATE 0x01
|
|
#define MARS_NWE_ARCHIVE_HAS_TIME 0x02
|
|
#define MARS_NWE_ARCHIVE_HAS_ARCHIVER 0x04
|
|
|
|
void mars_nwe_get_archive_info(char *unixname,
|
|
uint16 *archive_date,
|
|
uint16 *archive_time,
|
|
uint32 *archiver_id,
|
|
uint8 *flags);
|
|
|
|
int mars_nwe_set_archive_info(char *unixname,
|
|
int set_date, uint16 archive_date,
|
|
int set_time, uint16 archive_time,
|
|
int set_archiver, uint32 archiver_id);
|
|
|
|
#endif
|