You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.1 KiB

  1. /* Copyright (C) 2005 MySQL AB
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
  13. /*
  14. This is a header for libraries containing functions used in both server and
  15. only some of clients (but not in libmysql)...
  16. */
  17. #ifndef _my_user_h_
  18. #define _my_user_h_
  19. #include <my_global.h>
  20. C_MODE_START
  21. void parse_user(const char *user_id_str, uint user_id_len,
  22. char *user_name_str, uint *user_name_len,
  23. char *host_name_str, uint *host_name_len);
  24. C_MODE_END
  25. #endif /* _my_user_h_ */