tgrekov-fdf
HIVE fdf May 2024
Loading...
Searching...
No Matches
identify_sequence.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* identify_sequence.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/01 03:41:27 by tgrekov #+# #+# */
/* Updated: 2024/02/13 07:16:49 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file identify_sequence.c.

#include "handlers/handlers.h"
#include "sequence.h"
Include dependency graph for identify_sequence.c:

Go to the source code of this file.

Functions

static void init_sequence (t_sequence *sequence)
 Sets initial values for a s_sequence that are not always set elsewhere.
 
void identify_sequence (va_list args, t_sequence *seq)
 Initialize a s_sequence and determine which specifier it needs to handle, and runs the preprocessing function for that specifier. Sets s_sequence::specifier to 0 on failure.
 

Function Documentation

◆ identify_sequence()

void identify_sequence ( va_list  args,
t_sequence seq 
)

Initialize a s_sequence and determine which specifier it needs to handle, and runs the preprocessing function for that specifier. Sets s_sequence::specifier to 0 on failure.

Parameters
[in,out]args
[in,out]seq

Definition at line 44 of file identify_sequence.c.

◆ init_sequence()

static void init_sequence ( t_sequence sequence)
static

Sets initial values for a s_sequence that are not always set elsewhere.

Parameters
[in,out]sequence

Definition at line 29 of file identify_sequence.c.

References s_sequence::pad_len, s_sequence::sign, and s_sequence::total_len.

Here is the caller graph for this function: