%PDF- %PDF-
Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
Current File : //lib/python3/dist-packages/paramiko/__pycache__/win_pageant.cpython-312.pyc |
� �ec� � �2 � d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl Zddl mZ dZdZd Zd � Zd� Z ej( � d dk( r ej* Znej. Z G d � dej0 � Zd� Z G d� de� Zy# e$ r ddlZY �qw xY w)zP Functions for communicating with Pageant, the basic windows ssh agent program. � N)� zero_byte)�b� )�_winapil �P� i �J c �V � t j j j dd� S )Ns Pageant)�ctypes�windll�user32�FindWindowA� � �6/usr/lib/python3/dist-packages/paramiko/win_pageant.py�_get_pageant_window_objectr . s � ��=�=���+�+�J� �C�Cr c �( � t t � � S )z� Check to see if there is a "Pageant" agent we can talk to. This checks both if we have the required libraries (win32all or ctypes) and if there is a Pageant currently running. )�boolr r r r �can_talk_to_agentr 2 s � � �*�,�-�-r �64bitc �b � e Zd ZdZdefdej j fdej fgZ y)�COPYDATASTRUCTzy ctypes implementation of http://msdn.microsoft.com/en-us/library/windows/desktop/ms649010%28v=vs.85%29.aspx �num_data� data_size�data_locN) �__name__� __module__�__qualname__�__doc__� ULONG_PTRr �wintypes�DWORD�c_void_p�_fields_r r r r r B s6 � �� �Y�� �f�o�o�+�+�,� �V�_�_�%��Hr r c �� � t � }|sydt j � z }t j |t t j � � }|5 |j | � t j dt |� t z � }|j � \ }}t t ||� }t j j j# |t$ t j&