summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2008-07-20 17:37:33 -0400
committerEliot Horowitz <eliot@10gen.com>2008-07-20 17:37:33 -0400
commit50e8a1a3f5203ab26e6cc4fa2636333629f97ba2 (patch)
tree1c2c9d97b0007a9ec33fdd89e2552e844c7a0946 /util
parent383a862ad32f8731e8eab608465a48873a078e81 (diff)
downloadmongo-50e8a1a3f5203ab26e6cc4fa2636333629f97ba2.tar.gz
added AGPL License Header to every file
take 2
Diffstat (limited to 'util')
-rw-r--r--util/builder.h16
-rw-r--r--util/goodies.h16
-rw-r--r--util/hashtab.h17
-rw-r--r--util/log.h16
-rw-r--r--util/lruishmap.h16
-rw-r--r--util/mmap.cpp17
-rw-r--r--util/mmap.h16
-rw-r--r--util/sock.cpp16
-rw-r--r--util/sock.h16
-rw-r--r--util/util.cpp16
10 files changed, 160 insertions, 2 deletions
diff --git a/util/builder.h b/util/builder.h
index 67b8c38d87f..d65c6d63196 100644
--- a/util/builder.h
+++ b/util/builder.h
@@ -1,3 +1,19 @@
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* builder.h
*/
diff --git a/util/goodies.h b/util/goodies.h
index 8bb25f31afa..43139d9c4a9 100644
--- a/util/goodies.h
+++ b/util/goodies.h
@@ -1,6 +1,22 @@
// goodies.h
// miscellaneous junk
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#pragma once
#include "../stdafx.h"
diff --git a/util/hashtab.h b/util/hashtab.h
index ed3bde0c251..6b94050f492 100644
--- a/util/hashtab.h
+++ b/util/hashtab.h
@@ -1,3 +1,19 @@
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/* hashtab.h
Simple, fixed size hash table. Darn simple.
@@ -110,4 +126,3 @@ public:
};
#pragma pack(pop)
-
diff --git a/util/log.h b/util/log.h
index 9d7df6ec9b4..286d956ebb3 100644
--- a/util/log.h
+++ b/util/log.h
@@ -1,5 +1,21 @@
// log.h
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#pragma once
class Nullstream {
diff --git a/util/lruishmap.h b/util/lruishmap.h
index eca27609897..f8e39e572f5 100644
--- a/util/lruishmap.h
+++ b/util/lruishmap.h
@@ -1,5 +1,21 @@
// lru-ish map.h
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#pragma once
#include "../stdafx.h"
diff --git a/util/mmap.cpp b/util/mmap.cpp
index 7a16b7f6a70..94f96d6fa59 100644
--- a/util/mmap.cpp
+++ b/util/mmap.cpp
@@ -1,5 +1,21 @@
// mmap.cpp
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "stdafx.h"
#include "mmap.h"
@@ -172,4 +188,3 @@ void MemoryMappedFile::flush(bool sync) {
}
#endif
-
diff --git a/util/mmap.h b/util/mmap.h
index 6b8b8926373..1774840da8b 100644
--- a/util/mmap.h
+++ b/util/mmap.h
@@ -1,5 +1,21 @@
// mmap.h
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#pragma once
class MemoryMappedFile {
diff --git a/util/sock.cpp b/util/sock.cpp
index 1b86edd4f5e..9c22fa58139 100644
--- a/util/sock.cpp
+++ b/util/sock.cpp
@@ -1,5 +1,21 @@
// sock.cpp
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "stdafx.h"
#include "sock.h"
diff --git a/util/sock.h b/util/sock.h
index 3c00fe6a83f..d558c3a5f09 100644
--- a/util/sock.h
+++ b/util/sock.h
@@ -1,5 +1,21 @@
// sock.h
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#pragma once
#include <stdio.h>
diff --git a/util/util.cpp b/util/util.cpp
index 3edb6f2b436..9c09267ae9c 100644
--- a/util/util.cpp
+++ b/util/util.cpp
@@ -1,3 +1,19 @@
+/**
+* Copyright (C) 2008 10gen Inc.
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Affero General Public License, version 3,
+* as published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Affero General Public License for more details.
+*
+* You should have received a copy of the GNU Affero General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "stdafx.h"
#include "goodies.h"