tin  2.4.5
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.4.5.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

header.c File Reference
#include "tin.h"
#include "tnntp.h"
Include dependency graph for header.c:

Go to the source code of this file.


static const char * get_full_name (void)
static const char * get_user_name (void)
const char * get_host_name (void)
void get_user_info (char *user_name, char *full_name)
void get_from_name (char *from_name, struct t_group *thisgrp)
char * build_sender (void)

Function Documentation

◆ build_sender()

char* build_sender ( void  )

Definition at line 333 of file header.c.

References get_fqdn(), get_full_name(), get_host_name(), get_user_name(), snprintf, and strpbrk().

◆ get_from_name()

◆ get_full_name()

static const char * get_full_name ( void  )

Definition at line 258 of file header.c.

References buf, my_strncpy(), my_toupper(), snprintf, and STRCPY.

Referenced by build_sender(), get_from_name(), and get_user_info().

◆ get_host_name()

const char* get_host_name ( void  )

Definition at line 52 of file header.c.

References MAXHOSTNAMELEN, and my_strncpy().

Referenced by build_sender(), init_selfinfo(), and my_tmpfile().

◆ get_user_info()

void get_user_info ( char *  user_name,
char *  full_name 

Definition at line 221 of file header.c.

References get_full_name(), and get_user_name().

Referenced by repost_article().

◆ get_user_name()

static const char * get_user_name ( void  )

Definition at line 238 of file header.c.

References _, EXIT_FAILURE, STRCPY, tin_done(), and txt_error_passwd_missing.

Referenced by build_sender(), get_from_name(), and get_user_info().