13 lines
235 B
C
13 lines
235 B
C
#pragma once
|
|
|
|
typedef struct {
|
|
char* title;
|
|
char* author;
|
|
int year;
|
|
} Book;
|
|
|
|
Book* book_create(const char* title, const char* author, int year);
|
|
|
|
void book_print(const void* data);
|
|
|
|
int title_eq(const void* title, const void* data); |