-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuncs.h
35 lines (23 loc) · 1.09 KB
/
funcs.h
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
//âûâîä
void print_owners(CarOwner* owners, int count);
//äîáàâëåíèå
CarOwner* add_owner(CarOwner* owners, int* count, int last_id);
//óäàëåíèå
CarOwner* delete_owner(CarOwner* owners, int* count);
//ðåäàêòèðîâàíèå
void edit_owner(CarOwner* owners, int* count);
void search_owners(CarOwner* owners, int count);
//ñîðò
void sort_ownersAZ(CarOwner* owners, int count);
//âûâîä ñîðòà
void print_sorted_list(char* filename);
int comp_last_name(const void* ptr1, const void* ptr2);
int comp_name(const void* ptr1, const void* ptr2);
int comp_street(const void* ptr1, const void* ptr2);
int comp_city(const void* ptr1, const void* ptr2);
int comp_district(const void* ptr1, const void* ptr2);
int surname_to_find(CarOwner* owners, int count, char string_to_find[], FILE* file);
int name_to_find(CarOwner* owners, int count, char string_to_find[], FILE* file);
int city_to_find(CarOwner* owners, int count, char string_to_find[], FILE* file);
int street_to_find(CarOwner* owners, int count, char string_to_find[], FILE* file);
int district_to_find(CarOwner* owners, int count, char string_to_find[], FILE* file);