~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2010-12-27 19:41:48 UTC
  • mfrom: (2035 staging)
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101227194148-nqd86au4o76pdltw
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
 
106
106
/*
107
107
  SYNOPSIS
108
 
    (*mysql_var_check_func)()
 
108
    (*var_check_func)()
109
109
      session               thread handle
110
110
      var               dynamic variable being altered
111
111
      save              pointer to temporary storage
122
122
  automatically at the end of the statement.
123
123
*/
124
124
 
125
 
typedef int (*mysql_var_check_func)(Session *session,
 
125
typedef int (*var_check_func)(Session *session,
126
126
                                    drizzle_sys_var *var,
127
127
                                    void *save, drizzle_value *value);
128
128
 
129
129
/*
130
130
  SYNOPSIS
131
 
    (*mysql_var_update_func)()
 
131
    (*var_update_func)()
132
132
      session               thread handle
133
133
      var               dynamic variable being altered
134
134
      var_ptr           pointer to dynamic variable
140
140
   and persist it in the provided pointer to the dynamic variable.
141
141
   For example, strings may require memory to be allocated.
142
142
*/
143
 
typedef void (*mysql_var_update_func)(Session *session,
 
143
typedef void (*var_update_func)(Session *session,
144
144
                                      drizzle_sys_var *var,
145
145
                                      void *var_ptr, const void *save);
146
146
 
202
202
  @retval -1    error
203
203
  @retval >= 0  a file handle that can be passed to dup or internal::my_close
204
204
*/
205
 
int mysql_tmpfile(const char *prefix);
 
205
int tmpfile(const char *prefix);
206
206
 
207
207
} /* namespace drizzled */
208
208