cURL / Mailing Lists / curl-library / Single Mail

curl-library

mk-opt-list.mak

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Sun, 7 Feb 2016 10:56:43 +0100

I've been toying with the attached GNU-makefile which creates
a program (curl_options). Running it simply prints all 'CURLOPT_x'
values sorted on '_x'. Plus it print a simple decoding of it's value.
Something like:

Idx CURLOPT_x value: arg type raw value
==========================================================================
  0: CURLOPT_ACCEPTTIMEOUT_MS -> 212: long 212
  1: CURLOPT_ACCEPT_ENCODING -> 102: object/string 10102
  2: CURLOPT_ADDRESS_SCOPE -> 171: long 171
  ...

I'd be happy if someone can test it on some other OS than Windows.
GNUmake v4+ required.

-- 
--gv


-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2016-02-07