/*-
 * Copyright (c) 2014-present MongoDB, Inc.
 * Copyright (c) 2008-2014 WiredTiger, Inc.
 *	All rights reserved.
 *
 * See the file LICENSE for redistribution information.
 */

#include "util.h"

/*
 * util_copyright --
 *     Display a copyright notice.
 */
void
util_copyright(void)
{
    printf("%s\n", "Copyright (c) 2008-2014 WiredTiger, Inc.");
    printf("%s\n", "Copyright (c) 2014-present MongoDB, Inc.");
    printf("%s\n\n", "All rights reserved.");

    printf("%s\n\n",
      "This program is free software: you can redistribute it and/or\n"
      "modify it under the terms of versions 2 or 3 of the GNU General\n"
      "Public License as published by the Free Software Foundation.");

    printf("%s\n\n",
      "This program is distributed in the hope that it will be useful,\n"
      "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
      "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
      "GNU General Public License for more details:");

    printf("\t%s\n\n", "http://www.gnu.org/licenses/gpl-3.0-standalone.html");

    printf("%s\n",
      "For a license to use the WiredTiger software under conditions\n"
      "other than those described by the GNU General Public License,\n"
      "or for technical support for this software, contact MongoDB, Inc.");
}
