add opkg option http_timeout
[project/opkg-lede.git] / libopkg / opkg_conf.h
index 3893f33f2127e98640b207e9d82bd82150cf6bbd..37f95a1a9935d673cbba5f786d58c150a74e2fa7 100644 (file)
@@ -78,6 +78,7 @@ struct opkg_conf {
        int force_checksum;
        int check_signature;
        int force_signature;
+       int no_check_certificate;
        int nodeps;             /* do not follow dependencies */
        int nocase;             /* perform case insensitive matching */
        char *offline_root;
@@ -89,27 +90,9 @@ struct opkg_conf {
        int download_only;
        char *cache;
 
-#ifdef HAVE_SSLCURL
-       /* some options could be used by
-        * wget if curl support isn't builtin
-        * If someone want to try...
-        */
-       char *ssl_engine;
-       char *ssl_cert;
-       char *ssl_cert_type;
-       char *ssl_key;
-       char *ssl_key_type;
-       char *ssl_key_passwd;
-       char *ssl_ca_file;
-       char *ssl_ca_path;
-       int ssl_dont_verify_peer;
-#endif
-#ifdef HAVE_PATHFINDER
-       int check_x509_path;
-#endif
-
        /* proxy options */
        char *http_proxy;
+       char *http_timeout;
        char *ftp_proxy;
        char *no_proxy;
        char *proxy_user;