Loading docs/examples/Makefile.am +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies EXTRA_DIST = README curlgtk.c sepheaders.c simple.c postit.c \ win32sockets.c \ getpageinvar.php simpleget.php simplepost.php all: Loading docs/examples/curlgtk.c +9 −1 Original line number Diff line number Diff line /* curlgtk.c */ /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ /* Copyright (c) 2000 David Odin (aka DindinX) for MandrakeSoft */ /* an attempt to use the curl library in concert with a gtk-threaded application */ Loading docs/examples/postit.c +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,9 @@ * This exact source code has not been verified to work. */ /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ #include <stdio.h> #include <curl/curl.h> Loading docs/examples/sepheaders.c +13 −0 Original line number Diff line number Diff line /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> Loading docs/examples/simple.c +13 −0 Original line number Diff line number Diff line /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ #include <stdio.h> #include <curl/curl.h> #include <curl/types.h> #include <curl/easy.h> /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ int main(int argc, char **argv) { CURL *curl; Loading Loading
docs/examples/Makefile.am +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies EXTRA_DIST = README curlgtk.c sepheaders.c simple.c postit.c \ win32sockets.c \ getpageinvar.php simpleget.php simplepost.php all: Loading
docs/examples/curlgtk.c +9 −1 Original line number Diff line number Diff line /* curlgtk.c */ /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ /* Copyright (c) 2000 David Odin (aka DindinX) for MandrakeSoft */ /* an attempt to use the curl library in concert with a gtk-threaded application */ Loading
docs/examples/postit.c +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,9 @@ * This exact source code has not been verified to work. */ /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ #include <stdio.h> #include <curl/curl.h> Loading
docs/examples/sepheaders.c +13 −0 Original line number Diff line number Diff line /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> Loading
docs/examples/simple.c +13 −0 Original line number Diff line number Diff line /***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * $Id$ */ #include <stdio.h> #include <curl/curl.h> #include <curl/types.h> #include <curl/easy.h> /* to make this work under windows, use the win32-functions from the win32socket.c file as well */ int main(int argc, char **argv) { CURL *curl; Loading