summaryrefslogtreecommitdiff
path: root/include/miregex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/miregex.h')
-rwxr-xr-xinclude/miregex.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/miregex.h b/include/miregex.h
new file mode 100755
index 00000000..db8b8db6
--- /dev/null
+++ b/include/miregex.h
@@ -0,0 +1,39 @@
+/*
+ * aul
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>, Jaeho Lee <jaeho81.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+
+#ifndef _MIREGEX_H_
+#define _MIREGEX_H_
+
+#include <regex.h>
+
+typedef struct _regex_tbl {
+ char *mimetype;
+ char *regex;
+ char *desc;
+ regex_t regex_preg;
+ struct _regex_tbl *next;
+} regex_tbl;
+
+regex_tbl *miregex_get_regex_table();
+
+#endif
+