Loading docs/examples/multi-app.c +6 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,7 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* This is an example application source code using the multi interface. */ /* <DESC> * A basic application source code using the multi interface doing two * transfers in parallel. */ * </DESC> */ #include <stdio.h> #include <string.h> Loading docs/examples/postinmemory.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Make a HTTP POST with data from memory and receive response in memory. * </DESC> */ #include <stdio.h> #include <stdlib.h> #include <string.h> Loading docs/examples/postit2.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * HTTP Multipart formpost with file upload and two additional parts. * </DESC> */ /* Example code that uploads a file name 'foo' to a remote script that accepts * "HTML form based" (as described in RFC1738) uploads using HTTP POST. * Loading docs/examples/progressfunc.c +6 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Use the progress callbacks, old and/or new one depending on avaiable * libcurl version. * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading docs/examples/resolve.c +6 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Use CURLOPT_RESOLVE to feed custom IP addresses for given host name + port * number combinations. * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading Loading
docs/examples/multi-app.c +6 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,7 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* This is an example application source code using the multi interface. */ /* <DESC> * A basic application source code using the multi interface doing two * transfers in parallel. */ * </DESC> */ #include <stdio.h> #include <string.h> Loading
docs/examples/postinmemory.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Make a HTTP POST with data from memory and receive response in memory. * </DESC> */ #include <stdio.h> #include <stdlib.h> #include <string.h> Loading
docs/examples/postit2.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * HTTP Multipart formpost with file upload and two additional parts. * </DESC> */ /* Example code that uploads a file name 'foo' to a remote script that accepts * "HTML form based" (as described in RFC1738) uploads using HTTP POST. * Loading
docs/examples/progressfunc.c +6 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Use the progress callbacks, old and/or new one depending on avaiable * libcurl version. * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading
docs/examples/resolve.c +6 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,11 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Use CURLOPT_RESOLVE to feed custom IP addresses for given host name + port * number combinations. * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading