Changeset 8e401cae


Ignore:
Timestamp:
Feb 28, 2007, 9:07:28 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e7dc035
Parents:
124aebc
git-author:
Nelson Elhage <nelhage@mit.edu> (02/27/07 23:58:01)
git-committer:
Nelson Elhage <nelhage@mit.edu> (02/28/07 21:07:28)
Message:
Adding owl_global_intern for interning strings in a global obarray.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r1bdffcb r8e401cae  
    106106  owl_zbuddylist_create(&(g->zbuddies));
    107107  owl_timer_create_countdown(&(g->zephyr_buddycheck_timer), 60*3);
     108
     109  owl_obarray_init(&(g->obarray));
    108110}
    109111
     
    884886  return(&(g->startup_tio));
    885887}
     888
     889char * owl_global_intern(owl_global *g, char * string)
     890{
     891  return owl_obarray_insert(&(g->obarray), string);
     892}
  • owl.h

    r124aebc r8e401cae  
    583583  owl_timer zephyr_buddycheck_timer;
    584584  struct termios startup_tio;
     585  owl_obarray obarray;
    585586} owl_global;
    586587
Note: See TracChangeset for help on using the changeset viewer.