Function report |
Source Code:lib\textsearch.c |
Create Date:2022-07-28 07:10:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xtsearch_register - register a textsearch module*@ops: operations lookup table* This function must be called by textsearch modules to announce* their presence
Proto:int textsearch_register(struct ts_ops *ops)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ts_ops * | ops |
| 148 | If (name == NULL || find == NULL || init == NULL || get_pattern == NULL || get_pattern_len == NULL) Then Return -EINVAL |
| 152 | spin_lock( & ts_mod_lock) |
| 159 | err = 0 |
| 160 | errout : |
| 161 | spin_unlock( & ts_mod_lock) |
| 162 | Return err |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |