Ignore:
Timestamp:
11/30/09 11:03:47 (4 years ago)
Author:
jylam
Message:
  • Moved system stuff (user_path, shell, grab stuff, etc) to struct sys
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/neercs.h

    r4063 r4071  
    196196}; 
    197197 
     198struct sys 
     199{ 
     200    char *default_shell; 
     201    char *user_path; 
     202    int  *to_grab; 
     203    char **to_start; 
     204    int  nb_to_grab; 
     205    int  attach, forceattach;     
     206}; 
     207 
    198208struct screen_list 
    199209{ 
     
    204214    int changed;                 /* Global redraw needed (e.g. adding a screen) */ 
    205215    int delay;                   /* Minimal time between two refresh (ms) */ 
     216    int  requested_delay; 
    206217    int force_refresh; 
    207218    int need_refresh;            /* If we skipped a refresh, do it next time */ 
     
    239250    /* Option parsing and configuration */ 
    240251    struct option *config; 
    241     char *default_shell; 
    242     char *user_path; 
    243     int *to_grab; 
    244     char **to_start; 
    245     int nb_to_grab; 
    246     int attach, forceattach; 
    247     int requested_delay; 
     252     
     253    struct sys sys; 
    248254 
    249255    struct recurrent_list *recurrent_list; 
Note: See TracChangeset for help on using the changeset viewer.