������� ������������� �������� C, ��������, rpmReadPackageFile, Python API ������������� ������� ������ ������ ��� �������� ������� ������ �� ����� rpm-������. ����� hdrFromFdno ��������� ����� �� ����� � ������������ � ���������� ������������:
h = ts.hdrFromFdno(fdno) |
����� hdrFromFdno ��������� �� �������������� ���������� ������ ���������������� ������� ����� ����� Python. � RPM ���������� C FD_t - ��� FILE**.
��������� ������ ���������� �������, ����������� ����, ����������� ����� � ����� ����������� ����.
def readRpmHeader(ts, filename): |
����� hdrFromFdno ������������ ��� ����������, ����������� �� ��������, ��������������� ��� �������� ��� ������ �����:
def readRpmHeader(ts, filename): |
������� � ���, ����� �� ���������� ��������� ���������� ����, ������� �� ������������.
����� - ��������� ������ �����������
����� - ��������� ��������
����������