src/pgp_netpgp_internal.h
author Edouard Tisserant
Sun, 10 May 2015 22:49:10 +0200
changeset 263 6ec7559afec4
parent 252 d0aa4a732456
child 322 978c746d7d2c
permissions -rw-r--r--
netpgp : thread safe curl init and release
Edouard@174
     1
#pragma once
Edouard@174
     2
Edouard@252
     3
#include <curl/curl.h>
Edouard@263
     4
#include <pthread.h>
Edouard@252
     5
Edouard@252
     6
typedef struct _pEpNetPGPSession {
Edouard@252
     7
    CURL *curl;
Edouard@263
     8
    pthread_mutex_t curl_mutex;
Edouard@252
     9
} pEpNetPGPSession;