/[grub]/grub2/include/grub/misc.h
ViewVC logotype

Diff of /grub2/include/grub/misc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by okuji, Sat Jan 29 22:01:53 2005 UTC revision 1.13 by hollisb, Mon May 9 01:47:37 2005 UTC
# Line 26  Line 26 
26  #include <grub/symbol.h>  #include <grub/symbol.h>
27  #include <grub/err.h>  #include <grub/err.h>
28    
29    #define grub_dprintf(condition, fmt, args...) grub_real_dprintf(__FILE__, __LINE__, condition, fmt, ## args);
30  /* XXX: If grub_memmove is too slow, we must implement grub_memcpy.  */  /* XXX: If grub_memmove is too slow, we must implement grub_memcpy.  */
31  #define grub_memcpy(d,s,n)      grub_memmove ((d), (s), (n))  #define grub_memcpy(d,s,n)      grub_memmove ((d), (s), (n))
32    
# Line 46  int EXPORT_FUNC(grub_strncmp) (const cha Line 47  int EXPORT_FUNC(grub_strncmp) (const cha
47  int EXPORT_FUNC(grub_strncasecmp) (const char *s1, const char *s2, int c);  int EXPORT_FUNC(grub_strncasecmp) (const char *s1, const char *s2, int c);
48  char *EXPORT_FUNC(grub_strchr) (const char *s, int c);  char *EXPORT_FUNC(grub_strchr) (const char *s, int c);
49  char *EXPORT_FUNC(grub_strrchr) (const char *s, int c);  char *EXPORT_FUNC(grub_strrchr) (const char *s, int c);
50    int EXPORT_FUNC(grub_strword) (const char *s, const char *w);
51    int EXPORT_FUNC(grub_iswordseparator) (int c);
52  int EXPORT_FUNC(grub_isspace) (int c);  int EXPORT_FUNC(grub_isspace) (int c);
53  int EXPORT_FUNC(grub_isprint) (int c);  int EXPORT_FUNC(grub_isprint) (int c);
54  int EXPORT_FUNC(grub_isalpha) (int c);  int EXPORT_FUNC(grub_isalpha) (int c);
# Line 58  char *EXPORT_FUNC(grub_strndup) (const c Line 61  char *EXPORT_FUNC(grub_strndup) (const c
61  void *EXPORT_FUNC(grub_memset) (void *s, int c, grub_size_t n);  void *EXPORT_FUNC(grub_memset) (void *s, int c, grub_size_t n);
62  grub_size_t EXPORT_FUNC(grub_strlen) (const char *s);  grub_size_t EXPORT_FUNC(grub_strlen) (const char *s);
63  int EXPORT_FUNC(grub_printf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));  int EXPORT_FUNC(grub_printf) (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
64    void EXPORT_FUNC(grub_real_dprintf) (const char *file,
65                                         const int line,
66                                         const char *condition,
67                                         const char *fmt, ...) __attribute__ ((format (printf, 4, 5)));
68  int EXPORT_FUNC(grub_vprintf) (const char *fmt, va_list args);  int EXPORT_FUNC(grub_vprintf) (const char *fmt, va_list args);
69  int EXPORT_FUNC(grub_sprintf) (char *str, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));  int EXPORT_FUNC(grub_sprintf) (char *str, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
70  int EXPORT_FUNC(grub_vsprintf) (char *str, const char *fmt, va_list args);  int EXPORT_FUNC(grub_vsprintf) (char *str, const char *fmt, va_list args);

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26