apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r333035 - in /apr/examples/trunk: LICENSE README build/ helloworld/ helloworld/helloworld.c
Date Sun, 13 Nov 2005 15:58:25 GMT
Author: colm
Date: Sun Nov 13 07:58:21 2005
New Revision: 333035

URL: http://svn.apache.org/viewcvs?rev=333035&view=rev
Initial content for the examples repository.

    * LICENSE is taken directly from;

    * README should contain a brief paragraph on each

    * helloworld.c is a new clean-room APR hello world, though
      significant overlap with other "hello world"s is entirely

    apr/examples/trunk/LICENSE   (with props)
    apr/examples/trunk/README   (with props)
    apr/examples/trunk/helloworld/helloworld.c   (with props)

Added: apr/examples/trunk/LICENSE
URL: http://svn.apache.org/viewcvs/apr/examples/trunk/LICENSE?rev=333035&view=auto
--- apr/examples/trunk/LICENSE (added)
+++ apr/examples/trunk/LICENSE Sun Nov 13 07:58:21 2005
@@ -0,0 +1,31 @@
+                      Public Domain Certification
+Copyright-Only Dedication (based on United States law) or Public Domain
+The person or persons who have associated work with this document (the
+"Dedicator" or "Certifier") hereby either (a) certifies that, to the best of
+his knowledge, the work of authorship identified is in the public domain of the
+country from which the work is published, or (b) hereby dedicates whatever
+copyright the dedicators holds in the work of authorship identified below (the
+"Work") to the public domain. A certifier, moreover, dedicates any copyright
+interest he may have in the associated work, and for these purposes, is
+described as a "dedicator" below.
+A certifier has taken reasonable steps to verify the copyright status of this
+work. Certifier recognizes that his good faith efforts may not shield him from
+liability if in fact the work certified is not in the public domain.
+Dedicator makes this dedication for the benefit of the public at large and to
+the detriment of the Dedicator's heirs and successors. Dedicator intends this
+dedication to be an overt act of relinquishment in perpetuity of all present
+and future rights under copyright law, whether vested or contingent, in the
+Work. Dedicator understands that such relinquishment of all rights includes the
+relinquishment of all rights to enforce (by lawsuit or otherwise) those
+copyrights in the Work.
+Dedicator recognizes that, once placed in the public domain, the Work may be
+freely reproduced, distributed, transmitted, used, modified, built upon, or
+otherwise exploited by anyone for any purpose, commercial or non-commercial,
+and in any way, including by methods that have not yet been invented or

Propchange: apr/examples/trunk/LICENSE
    svn:eol-style = native

Added: apr/examples/trunk/README
URL: http://svn.apache.org/viewcvs/apr/examples/trunk/README?rev=333035&view=auto
--- apr/examples/trunk/README (added)
+++ apr/examples/trunk/README Sun Nov 13 07:58:21 2005
@@ -0,0 +1,10 @@
+Apache Portable Runtime Examples
+We have put together a small collection of example program implementations
+utilising the Apache Portable Runtime libraries. These examples and their build
+environment have been released to the public domain, and you may take them as a
+starting point for new applications or as a reference work.
+    The ubiquitous first-example. 

Propchange: apr/examples/trunk/README
    svn:eol-style = native

Added: apr/examples/trunk/helloworld/helloworld.c
URL: http://svn.apache.org/viewcvs/apr/examples/trunk/helloworld/helloworld.c?rev=333035&view=auto
--- apr/examples/trunk/helloworld/helloworld.c (added)
+++ apr/examples/trunk/helloworld/helloworld.c Sun Nov 13 07:58:21 2005
@@ -0,0 +1,22 @@
+/* This code is PUBLIC DOMAIN, and is distributed on an "AS IS" BASIS,
+ * LICENSE file.
+ */
+#include "apr.h"
+#include "apr_file_io.h"
+#include <stdlib.h>
+int main(int argc, const char * const argv[])
+    apr_pool_t *pool;
+    apr_file_t *out;
+    apr_initialize();
+    atexit(apr_terminate);
+    apr_pool_create(&pool, NULL);
+    apr_file_open_stdout(&out, pool);
+    apr_file_puts("Hello World!" APR_EOL_STR, out);
+    return 0;

Propchange: apr/examples/trunk/helloworld/helloworld.c
    svn:eol-style = native

View raw message