Skip to content

Commit

Permalink
[helper] submodule update spread
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 21, 2024
1 parent f609e65 commit d625bec
Show file tree
Hide file tree
Showing 17 changed files with 432 additions and 219 deletions.
33 changes: 22 additions & 11 deletions inc/libft_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,37 +29,48 @@
/* ##### */

// check/ft_is_str.c
t_bool ft_is_str(const char *str, t_bool func(char));

t_bool ft_is_str(const char *str, t_bool func(char));

// check/ft_isalnum.c
t_bool ft_isalnum(const char c);

t_bool ft_isalnum(const char c);

// check/ft_isalpha.c
t_bool ft_isalpha(const char c);

t_bool ft_isalpha(const char c);

// check/ft_isascii.c
t_bool ft_isascii(const char c);

t_bool ft_isascii(const char c);

// check/ft_isblank.c
t_bool ft_isblank(const char c);

t_bool ft_isblank(const char c);

// check/ft_isdigit.c
t_bool ft_isdigit(const char c);

t_bool ft_isdigit(const char c);

// check/ft_isgoodi.c
t_bool ft_isgoodi(int n, int neg);

t_bool ft_isgoodi(int n, int neg);

// check/ft_isgoodll.c
int ft_isgoodll(t_int64 n, int neg);

int ft_isgoodll(t_int64 n, int neg);

// check/ft_isgoodu.c
t_bool ft_isgoodu(t_uint32 n, int is_last);

t_bool ft_isgoodu(t_uint32 n, int is_last);

// check/ft_isprint.c
t_bool ft_isprint(const char c);

t_bool ft_isprint(const char c);

// check/ft_isspace.c
t_bool ft_isspace(const char c);

t_bool ft_isspace(const char c);

/* ########################################################################## */

Expand Down
1 change: 1 addition & 0 deletions inc/libft_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
/* ##### */

// error/ft_error.c

void ft_error(void);

/* ########################################################################## */
Expand Down
7 changes: 7 additions & 0 deletions inc/libft_hashtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,32 @@ typedef struct _ht
/* ##### */

// hashtable/ft_ht_free.c

void ft_ht_free(ht *table);

// hashtable/ft_ht_get.c

void *ft_ht_get(ht *table, char *key);

// hashtable/ft_ht_hash_key.c

t_uint32 ft_ht_hash_key(const char *k);

// hashtable/ft_ht_item.c

ht_item *ft_ht_new_item(char *key, void *value);
ht_item *ft_ht_add_item(ht_item **item, char *key, void *value);

// hashtable/ft_ht_len.c

t_size ft_ht_len(ht table);

// hashtable/ft_ht_new.c

ht *ft_ht_new();

// hashtable/ft_ht_set.c

t_bool ft_ht_set(ht *table, char *key, void *value);

/* ########################################################################## */
Expand Down
1 change: 1 addition & 0 deletions inc/libft_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
/* ##### */

// input/ft_get_next_line.c

char *ft_get_next_line(int fd);

/* ########################################################################## */
Expand Down
45 changes: 30 additions & 15 deletions inc/libft_integer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,49 +29,64 @@
/* ##### */

// integer/ft_get_base.c
int ft_get_base(int c, const char *base);

int ft_get_base(int c, const char *base);

// integer/ft_int4_chg.c
void ft_int4_chg(t_int4 *n, int level, t_int1 change);

void ft_int4_chg(t_int4 *n, int level, t_int1 change);

// integer/ft_int4_comp.c
t_int4 ft_int4_comp(t_int1 n1, t_int1 n2, t_int1 n3, t_int1 n4);

t_int4 ft_int4_comp(t_int1 n1, t_int1 n2, t_int1 n3, t_int1 n4);

// integer/ft_int4_dcomp.c
t_int1 ft_int4_dcomp(t_int4 n, int level);

t_int1 ft_int4_dcomp(t_int4 n, int level);

// integer/ft_int4_dec.c
void ft_int4_dec(t_int4 *n, int level);

void ft_int4_dec(t_int4 *n, int level);

// integer/ft_int4_inc.c
void ft_int4_inc(t_int4 *n, int level);

void ft_int4_inc(t_int4 *n, int level);

// integer/ft_itoa.c
char *ft_itoa(const int const_nb);

char *ft_itoa(const int const_nb);

// integer/ft_itoa_base.c
char *ft_itoa_base(const t_int64 const_nb, const char *base);

char *ft_itoa_base(const t_int64 const_nb, const char *base);

// integer/ft_ltoa.c
char *ft_ltoa(const t_int64 const_nb);

char *ft_ltoa(const t_int64 const_nb);

// integer/ft_ltoa_base.c
char *ft_ltoa_base(const t_int64 const_nb, const char *base);

char *ft_ltoa_base(const t_int64 const_nb, const char *base);

// integer/ft_nbrlen.c
t_size ft_nbrlen(const void *void_nbr);

t_size ft_nbrlen(const void *void_nbr);

// integer/ft_nbrlen_base.c
t_size ft_nbrlen_base(const void *void_nbr, const char *base);

t_size ft_nbrlen_base(const void *void_nbr, const char *base);

// integer/ft_rev_int.c
int ft_rev_int(int nb);

int ft_rev_int(int nb);

// integer/ft_utoa.c
char *ft_utoa(const t_uint64 const_nb);

char *ft_utoa(const t_uint64 const_nb);

// integer/ft_utoa_base.c
char *ft_utoa_base(const t_uint64 const_nb, const char *base);

char *ft_utoa_base(const t_uint64 const_nb, const char *base);

/* ########################################################################## */

Expand Down
26 changes: 16 additions & 10 deletions inc/libft_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,32 @@
/* ##### */

// linux/ft_getgid.c
int ft_getgid_file(char *file_path);
int ft_getgid_dir(char *file_path);
int ft_getgid(void);

int ft_getgid_file(char *file_path);
int ft_getgid_dir(char *file_path);
int ft_getgid(void);

// linux/ft_getuid.c
int ft_getuid_file(char *file_path);
int ft_getuid_dir(char *file_path);
int ft_getuid(void);

int ft_getuid_file(char *file_path);
int ft_getuid_dir(char *file_path);
int ft_getuid(void);

// linux/ft_iscdable.c
t_bool ft_iscdable(char *dir_path);

t_bool ft_iscdable(char *dir_path);

// linux/ft_isdir.c
int ft_isdir(char *dir_path, int mode);

int ft_isdir(char *dir_path, int mode);

// linux/ft_isexec.c
t_bool ft_isexec(char *file_path);

t_bool ft_isexec(char *file_path);

// linux/ft_isfile.c
int ft_isfile(char *file_path, int mode);

int ft_isfile(char *file_path, int mode);

/* ########################################################################## */

Expand Down
27 changes: 18 additions & 9 deletions inc/libft_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,40 @@ typedef struct s_list
/* ##### */

// list/ft_lstadd_back.c
t_list *ft_lstadd_back(t_list **lst, t_list *new);

t_list *ft_lstadd_back(t_list **lst, t_list *new);

// list/ft_lstadd_front.c
void ft_lstadd_front(t_list **lst, t_list *new);

void ft_lstadd_front(t_list **lst, t_list *new);

// list/ft_lstclear.c
void ft_lstclear(t_list **lst, void (*del)(void *));

void ft_lstclear(t_list **lst, void (*del)(void *));

// list/ft_lstdelone.c
void ft_lstdelone(t_list *lst, void (*del)(void *));

void ft_lstdelone(t_list *lst, void (*del)(void *));

// list/ft_lstiter.c
void ft_lstiter(t_list *lst, void (*f)(void *));

void ft_lstiter(t_list *lst, void (*f)(void *));

// list/ft_lstlast.c
t_list *ft_lstlast(t_list *lst);

t_list *ft_lstlast(t_list *lst);

// list/ft_lstmap.c
t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *));

t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *));

// list/ft_lstnew.c
t_list *ft_lstnew(void *content);

t_list *ft_lstnew(void *content);

// list/ft_lstsize.c
int ft_lstsize(t_list *lst);

int ft_lstsize(t_list *lst);

/* ########################################################################## */

Expand Down
10 changes: 10 additions & 0 deletions inc/libft_memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,43 @@
/* ##### */

// memory/ft_bzero.c

void ft_bzero(void *s, t_size n);

// memory/ft_calloc.c

void *ft_calloc(t_size nmemb, t_size size);

// memory/ft_free_char_pp.c

void ft_free_char_pp(char **str_str);

// memory/ft_memchr.c

char *ft_memchr(char *buf, unsigned char c, t_size n);

// memory/ft_memcmp.c

int ft_memcmp(const void *s1, const void *s2, t_size n);

// memory/ft_memcpy.c

void *ft_memcpy(void *dest, const void *src, t_size n);

// memory/ft_memjoin.c

char *ft_memjoin(char *s1, char *s2);

// memory/ft_memmove.c

void *ft_memmove(void *dest, const void *src, t_size n);

// memory/ft_memnchr.c

void *ft_memnchr(const void *s, int c, t_size n);

// memory/ft_memset.c

void *ft_memset(void *s, int c, t_size n);

/* ########################################################################## */
Expand Down
Loading

0 comments on commit d625bec

Please sign in to comment.