Ignore:
Timestamp:
Jul 17, 2006, 3:44:46 PM (18 years ago)
Author:
bcornec
Message:

Huge memory management patch.
Still not finished but a lot as been done.
What remains is around some functions returning strings, and some structure members.
(Could not finish due to laptop failure !)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondorestore/mondo-rstr-newt.h

    r507 r688  
    1 /***************************************************************************
    2                           mondo-rstr-newt.h  -  description
    3                              -------------------
    4     begin                : Sat Apr 20 2002
    5     copyright            : (C) 2002 by Stan Benoit
    6     email                : troff@nakedsoul.org
    7     cvsid                : $Id$
    8  ***************************************************************************/
    9 
    10 /***************************************************************************
    11  *                                                                         *
    12  *   This program is free software; you can redistribute it and/or modify  *
    13  *   it under the terms of the GNU General Public License as published by  *
    14  *   the Free Software Foundation; either version 2 of the License, or     *
    15  *   (at your option) any later version.                                   *
    16  *                                                                         *
    17  ***************************************************************************/
    18 
     1/*
     2 * $Id$
     3**/
    194
    205#include "../common/my-stuff.h"
     
    7257extern bool g_ISO_restore_mode;
    7358
    74 
    75 /* my global variables */
    76 
    77 //extern newtComponent g_progressForm, g_blurb1, g_blurb2, g_blurb3, g_label,
    78 //  g_timeline, g_percentline, g_scale;
    79 //extern char err_log_lines[NOOF_ERR_LINES][MAX_STR_LEN], g_blurb_str_1[MAX_STR_LEN] =
    80 //  "", g_blurb_str_2[MAX_STR_LEN] = "", g_blurb_str_3[MAX_STR_LEN] = "";
    81 //newtComponent g_isoform_main =
    82 //  NULL, g_isoform_header, g_isoform_scale, g_isoform_timeline,
    83 //  g_isoform_pcline;
    84 //long g_isoform_starttime;
    85 //int g_isoform_old_progress = -1;
    86 //char g_isoform_header_str[MAX_STR_LEN];
    87 //int g_mysterious_dot_counter;
    88 
    89 
    90 
    91 
    92 
    9359/* my subroutines */
    9460
     
    137103                   struct raidlist_itself *);
    138104void edit_raidrec_additional_vars(struct raid_device_record *);
    139 int evaluate_drive_within_mountlist(struct mountlist_itself *, char *,
    140                                     char *);
    141105int evaluate_mountlist(struct mountlist_itself *, char *, char *, char *);
    142106int find_device_in_mountlist(struct mountlist_itself *, char *);
     
    151115void log_to_screen(const char *fmt, ...);
    152116int look_for_duplicate_mountpoints(struct mountlist_itself *, char *);
    153 int look_for_weird_formats(struct mountlist_itself *, char *);
    154117void make_list_of_unallocated_raid_partitions(struct mountlist_itself *,
    155118                                              struct mountlist_itself *,
     
    162125void open_progress_form(char *, char *, char *, char *, long);
    163126void popup_and_OK(char *);
    164 bool popup_and_get_string(char *, char *, char *, int);
     127bool popup_and_get_string(char *, char *, char *);
    165128bool popup_with_buttons(char *, char *, char *);
    166129void redraw_disklist(struct list_of_disks *, void *keylist[],
     
    194157char *strip_path(char *);
    195158
    196 
    197 
    198 
    199159/* -------------------------------------------------------------------- */
    200160
    201 
    202 
    203 
    204 char tmpnopath[MAX_STR_LEN + 2];
    205 char tmpprevpath[MAX_STR_LEN + 2];
    206161
    207162#ifdef __FreeBSD__
Note: See TracChangeset for help on using the changeset viewer.