summaryrefslogtreecommitdiff
path: root/server/src/xml_encode_decode.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-09 13:48:24 +0000
committerdeva <deva>2008-06-09 13:48:24 +0000
commitbce7808fecc65d56b695be03f6b39fed51589562 (patch)
tree19b605d7a3cda82a31af6229871a8537c07ab4d9 /server/src/xml_encode_decode.h
parent775021103ccd27d8be5aa92cc3cd21ce6c547c48 (diff)
Added xml encoding of the lua programs to make sure they are not interrupting the xml. Missing files.
Diffstat (limited to 'server/src/xml_encode_decode.h')
-rw-r--r--server/src/xml_encode_decode.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/server/src/xml_encode_decode.h b/server/src/xml_encode_decode.h
new file mode 100644
index 0000000..39b1407
--- /dev/null
+++ b/server/src/xml_encode_decode.h
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/***************************************************************************
+ * xml_encode_decode.h
+ *
+ * Mon Jun 9 10:19:33 CEST 2008
+ * Copyright 2008 Bent Bisballe Nyeng
+ * deva@aasimon.org
+ ****************************************************************************/
+
+/*
+ * This file is part of Pracro.
+ *
+ * Pracro is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Pracro 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Pracro; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+#ifndef __PRACRO_XML_ENCODE_DECODE_H__
+#define __PRACRO_XML_ENCODE_DECODE_H__
+
+#include <string>
+
+std::string xml_encode(std::string str);
+std::string xml_decode(std::string str);
+
+#endif/*__PRACRO_XML_ENCODE_DECODE_H__*/