blob: 000f2997e30e40e793a62294d70e2e8b98d0ba67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef _STRING_H
#define _STRING_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct string {
char * s;
int length;
}sstring;
void StrAssign(sstring * st, const char * ch);
void StrCopy (sstring * st, const sstring * sp);
bool StrEmpty (sstring * st);
int StrCompare(const sstring * st, const sstring * sp);
#endif
|