403Webshell
Server IP : 216.92.14.13  /  Your IP : 216.73.216.171
Web Server : Apache
System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : rmlac2fmr ( 1040637)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/include/apt-pkg/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/include/apt-pkg/arfile.h
// -*- mode: cpp; mode: fold -*-
// Description								/*{{{*/
/* ######################################################################

   AR File - Handle an 'AR' archive
   
   This is a reader for the usual 4.4 BSD AR format. It allows raw
   stream access to a single member at a time. Basically all this class
   provides is header parsing and verification. It is up to the client
   to correctly make use of the stream start/stop points.
   
   ##################################################################### */
									/*}}}*/
#ifndef PKGLIB_ARFILE_H
#define PKGLIB_ARFILE_H

#include <apt-pkg/macros.h>
#include <string>

class FileFd;

class APT_PUBLIC ARArchive
{
   struct MemberHeader;
   public:
   struct Member;
   
   protected:

   // Linked list of members
   Member *List;
   
   bool LoadHeaders();

   public:
   
   // The stream file
   FileFd &File;

   // Locate a member by name
   const Member *FindMember(const char *Name) const;
   inline Member *Members() { return List; }
   
   APT_PUBLIC explicit ARArchive(FileFd &File);
   APT_PUBLIC ~ARArchive();
};

// A member of the archive
struct ARArchive::Member
{
   // Fields from the header
   std::string Name;
   unsigned long MTime;
   unsigned long UID;
   unsigned long GID;
   unsigned long Mode;
   unsigned long long Size;
   
   // Location of the data.
   unsigned long long Start;
   Member *Next;
   
   Member() : Start(0), Next(0) {};
};

#endif

Youez - 2016 - github.com/yon3zu
LinuXploit