Lines Matching defs:sk
80 int (*sk_set_cmp_func(STACK *sk, int (*c)(const char * const *,const char * const *)))
83 int (*old)(const char * const *,const char * const *)=sk->comp;
85 if (sk->comp != c)
86 sk->sorted=0;
87 sk->comp=c;
92 STACK *sk_dup(STACK *sk)
97 if ((ret=sk_new(sk->comp)) == NULL) goto err;
99 (unsigned int)sizeof(char *)*sk->num_alloc);
103 ret->num=sk->num;
104 memcpy(ret->data,sk->data,sizeof(char *)*sk->num);
105 ret->sorted=sk->sorted;
106 ret->num_alloc=sk->num_alloc;
107 ret->comp=sk->comp;