Archive-xattr-Patch
All checks were successful
Source release / source-package (push) Successful in 41s

This commit is contained in:
Mario Fetka
2026-05-25 21:07:46 +02:00
parent f04cb8cbbc
commit b031402933
8 changed files with 298 additions and 5 deletions

View File

@@ -95,6 +95,8 @@
/* change to '1' for shadow passwds */
#define QUOTA_SUPPORT @MARS_NWE_QUOTA_SUPPORT@
/* change to '1' for quota support */
#define XATTR_SUPPORT @MARS_NWE_XATTR_SUPPORT@
/* change to '1' for Linux xattr support */
/* for sending 'Request being serviced' replys, /lenz */
#define CALL_NWCONN_OVER_SOCKET 0

22
include/nwarchive.h Normal file
View File

@@ -0,0 +1,22 @@
/* 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