-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib_header.h
More file actions
45 lines (38 loc) · 712 Bytes
/
Copy pathlib_header.h
File metadata and controls
45 lines (38 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include <unistd.h>
#include<time.h>
typedef struct Books
{
struct Books *prev;
int Book_ID;
char Book[20];
char Author[20];
int Qty;
struct Books *next;
}BK;
typedef struct Record
{
struct Record *prev;
int IssueID;
int BookID;
int UserID;
char User[20];
char Idate[15];
char Ddate[15];
char Rdate[15];
int Fine;
struct Record *next;
}IR;
void add_book(BK**);
void remove_book(BK**);
void update_book(BK *);
void save_book(BK*);
BK* search_book(BK*);
void view_book(BK *);
void issue_book(IR **,BK *);
void list_record(IR *);
void return_book(IR *,BK *);
void save_record(IR *);
IR* search_record(IR *);