mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-04 23:08:42 +02:00
spaghetti code equivalent spaghetti readme spaghetti commit (wait no, this is actually descriptive)
19 lines
356 B
C
19 lines
356 B
C
#ifndef _EFIELDH_
|
|
#define _EFIELDH_
|
|
|
|
#include <stdbool.h>
|
|
#include <sys/types.h>
|
|
|
|
struct editable_field {
|
|
u_char length;
|
|
u_char pos;
|
|
char content[255];
|
|
};
|
|
|
|
struct editable_field field_new(char*);
|
|
void field_trim(struct editable_field*, u_char);
|
|
void field_update(struct editable_field*, char*);
|
|
bool field_seek(struct editable_field*, char);
|
|
|
|
#endif
|