Changeset 900 in MondoRescue for trunk/mondo/src/include


Ignore:
Timestamp:
Oct 24, 2006, 8:49:18 AM (19 years ago)
Author:
Bruno Cornec
Message:

Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...)
Nearly linking now due to that.

Location:
trunk/mondo/src/include
Files:
4 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/include/mr_str.h

    r895 r900  
    1 /* mr_string.h
    2  *
     1/*
    32 * $Id$
    43 *
    5  *     Header file of mr_string: a set of function manipulating strings
     4 *     Header file of mr_str.c: a set of function manipulating strings
    65 *     Provided under the GPL v2
    76 */
    87
    9 #ifndef MR_STRING_H
    10 #define MR_STRING_H
     8#ifndef MR_STR_H
     9#define MR_STR_H
    1110
    1211/* functions (public methods) */
     
    1514extern char *mr_stresc(char *instr, char *toesc, const char escchr);
    1615
    17 #endif                          /* MR_STRING_H */
     16#endif                          /* MR_STR_H */
  • trunk/mondo/src/include/my-stuff.h

    r849 r900  
    294294 */
    295295#define paranoid_system(x) {if(system(x)) log_msg(4, x); }
    296 
    297 /**
    298  * Free @p x and set it to NULL.
    299  */
    300 #define paranoid_free(x) {if ((x) != NULL) free(x); (x)=NULL;}
    301296
    302297/**
Note: See TracChangeset for help on using the changeset viewer.