- Timestamp:
- Aug 15, 2009, 7:08:18 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 1077891a
- Parents:
- fa4562c
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:51)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pair.c
rde1c8a5 re19eb97 1 1 #include "owl.h" 2 2 3 void owl_pair_create(owl_pair *p, c har *key, char *value) {3 void owl_pair_create(owl_pair *p, const char *key, char *value) { 4 4 p->key=key; 5 5 p->value=value; 6 6 } 7 7 8 void owl_pair_set_key(owl_pair *p, c har *key) {8 void owl_pair_set_key(owl_pair *p, const char *key) { 9 9 p->key=key; 10 10 } … … 14 14 } 15 15 16 c har *owl_pair_get_key(owl_pair *p) {16 const char *owl_pair_get_key(owl_pair *p) { 17 17 return(p->key); 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.