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

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

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

revision 1.5 by okuji, Sun Apr 4 13:46:01 2004 UTC revision 1.6 by marco_g, Tue Jan 4 14:01:45 2005 UTC
# Line 1  Line 1 
1  /*  /*
2   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
3   *  Copyright (C) 2002,2003  Free Software Foundation, Inc.   *  Copyright (C) 2002,2003,2005  Free Software Foundation, Inc.
4   *   *
5   *  GRUB is free software; you can redistribute it and/or modify   *  GRUB is free software; you can redistribute it and/or modify
6   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 34  void *xrealloc (void *ptr, size_t size); Line 34  void *xrealloc (void *ptr, size_t size);
34  char *xstrdup (const char *str);  char *xstrdup (const char *str);
35    
36  char *grub_util_get_path (const char *dir, const char *file);  char *grub_util_get_path (const char *dir, const char *file);
37    size_t grub_util_get_fp_size (FILE *fp);
38  size_t grub_util_get_image_size (const char *path);  size_t grub_util_get_image_size (const char *path);
39    void grub_util_read_at (void *img, size_t len, off_t offset, FILE *fp);
40  char *grub_util_read_image (const char *path);  char *grub_util_read_image (const char *path);
41  void grub_util_load_image (const char *path, char *buf);  void grub_util_load_image (const char *path, char *buf);
42  void grub_util_write_image (const char *img, size_t size, FILE *out);  void grub_util_write_image (const char *img, size_t size, FILE *out);
43    void grub_util_write_image_at (const void *img, size_t size, off_t offset,
44                                   FILE *out);
45    
46  #endif /* ! GRUB_UTIL_MISC_HEADER */  #endif /* ! GRUB_UTIL_MISC_HEADER */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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