| 1 | /* Copyright (C) 2009-2014 Kentoku Shiba | 
| 2 |  | 
| 3 |   This program is free software; you can redistribute it and/or modify | 
| 4 |   it under the terms of the GNU General Public License as published by | 
| 5 |   the Free Software Foundation; version 2 of the License. | 
| 6 |  | 
| 7 |   This program is distributed in the hope that it will be useful, | 
| 8 |   but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 9 |   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| 10 |   GNU General Public License for more details. | 
| 11 |  | 
| 12 |   You should have received a copy of the GNU General Public License | 
| 13 |   along with this program; if not, write to the Free Software | 
| 14 |   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */ | 
| 15 |  | 
| 16 | long long spider_direct_sql_body( | 
| 17 |   UDF_INIT *initid, | 
| 18 |   UDF_ARGS *args, | 
| 19 |   char *is_null, | 
| 20 |   char *error, | 
| 21 |   my_bool bg | 
| 22 | ); | 
| 23 |  | 
| 24 | my_bool spider_direct_sql_init_body( | 
| 25 |   UDF_INIT *initid, | 
| 26 |   UDF_ARGS *args, | 
| 27 |   char *message, | 
| 28 |   my_bool bg | 
| 29 | ); | 
| 30 |  | 
| 31 | void spider_direct_sql_deinit_body( | 
| 32 |   UDF_INIT *initid | 
| 33 | ); | 
| 34 |  | 
| 35 | #ifndef WITHOUT_SPIDER_BG_SEARCH | 
| 36 | void spider_direct_sql_bg_start( | 
| 37 |   UDF_INIT *initid | 
| 38 | ); | 
| 39 |  | 
| 40 | long long spider_direct_sql_bg_end( | 
| 41 |   UDF_INIT *initid | 
| 42 | ); | 
| 43 | #endif | 
| 44 |  | 
| 45 | long long spider_ping_table_body( | 
| 46 |   UDF_INIT *initid, | 
| 47 |   UDF_ARGS *args, | 
| 48 |   char *is_null, | 
| 49 |   char *error | 
| 50 | ); | 
| 51 |  | 
| 52 | my_bool spider_ping_table_init_body( | 
| 53 |   UDF_INIT *initid, | 
| 54 |   UDF_ARGS *args, | 
| 55 |   char *message | 
| 56 | ); | 
| 57 |  | 
| 58 | void spider_ping_table_deinit_body( | 
| 59 |   UDF_INIT *initid | 
| 60 | ); | 
| 61 |  | 
| 62 | long long spider_flush_table_mon_cache_body(); | 
| 63 |  | 
| 64 | long long spider_copy_tables_body( | 
| 65 |   UDF_INIT *initid, | 
| 66 |   UDF_ARGS *args, | 
| 67 |   char *is_null, | 
| 68 |   char *error | 
| 69 | ); | 
| 70 |  | 
| 71 | my_bool spider_copy_tables_init_body( | 
| 72 |   UDF_INIT *initid, | 
| 73 |   UDF_ARGS *args, | 
| 74 |   char *message | 
| 75 | ); | 
| 76 |  | 
| 77 | void spider_copy_tables_deinit_body( | 
| 78 |   UDF_INIT *initid | 
| 79 | ); | 
| 80 |  |