2009-02-03 17:10:44 -05:00
|
|
|
// server.h
|
2008-09-15 09:14:42 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Copyright (C) 2008 10gen Inc.
|
2008-12-28 20:28:49 -05:00
|
|
|
*
|
2008-09-15 09:14:42 -04:00
|
|
|
* 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.
|
2008-12-28 20:28:49 -05:00
|
|
|
*
|
2008-09-15 09:14:42 -04:00
|
|
|
* 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.
|
2008-12-28 20:28:49 -05:00
|
|
|
*
|
2008-09-15 09:14:42 -04:00
|
|
|
* 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/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2009-02-03 17:10:44 -05:00
|
|
|
#include <string>
|
2009-02-05 11:50:27 -05:00
|
|
|
#include "../util/message.h"
|
2009-04-17 17:11:32 -04:00
|
|
|
#include "../db/jsobj.h"
|
2008-10-19 09:02:37 -05:00
|
|
|
|
2009-01-14 17:09:51 -05:00
|
|
|
namespace mongo {
|
2009-04-17 17:11:32 -04:00
|
|
|
|
|
|
|
|
extern OID serverID;
|
2009-02-03 17:10:44 -05:00
|
|
|
|
2009-02-05 11:50:27 -05:00
|
|
|
// from request.cpp
|
|
|
|
|
void processRequest(Message& m, MessagingPort& p);
|
2009-02-03 17:10:44 -05:00
|
|
|
}
|