C-���������� RPM ������ ���������� popt ��� ��������� ����� ��������� ������ ������� rpm. ������� ���������� RPM, ��������, rpmcliInit, ������� ������������� ��������� ��������� ������ rpm, ������� ������� ����� ������� � ������� �����, ������� ���������� ����� ��������� ������ ��� ����� ���������.
��� ��������� ������� ���������, �������������� ����������� ����� ��������� ������ rpm, ����������� ���������� ��������� ������� �����:
static struct poptOption optionsTable[] = { |
����� ��������������� ���� ��������� � ������� ������ rpmcliInit:
poptContext rpmcliInit(int argc, char *const argv[], |
��� ������ rpmcliInit ��������������� ��� ���������� ��� ����������� ����� ��������� ������ rpm.
��������, ����� ������� �������� ����� ��������������, ����� ������� rpmIsVerbose:
int rpmIsVerbose(); |
����� ����, ��� ���������, ������������ rpmcliInit, ��������� ������, �������� rpmcliFini ��� ������� ���������� ������:
poptContext rpmcliFini(poptContext context); |
rpmcliFini ���������� NULL.
����� - ������ � rpm-�������
����� - ���������� ������
����������