aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/simple.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-02-20 13:56:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-02-20 13:56:38 +0000
commitada9bc2b24ecb73c78e07aed933dc99f1d44ed3c (patch)
tree2a404577e750f7986496a30da657d180b219705c /docs/examples/simple.c
parent43da41e73ea600e26916ac45833e06145251087f (diff)
win32sockets.c is now added with winsock init/cleanup example functions
Diffstat (limited to 'docs/examples/simple.c')
-rw-r--r--docs/examples/simple.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/examples/simple.c b/docs/examples/simple.c
index e6138c4e1..907d5e8e4 100644
--- a/docs/examples/simple.c
+++ b/docs/examples/simple.c
@@ -1,9 +1,22 @@
+/*****************************************************************************
+ * _ _ ____ _
+ * 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;