pazpar2  1.14.1
Functions
normalize7bit.c File Reference

char and string normalization for 7bit ascii only More...

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "normalize7bit.h"

Go to the source code of this file.

Functions

char * normalize7bit_generic (char *str, const char *rm_chars)
 removes leading whitespace.. Removes suffix cahrs in rm_chars More...
 
char * normalize7bit_mergekey (char *buf)
 
int extract7bit_dates (const char *buf, int *first, int *last, int longdate)
 

Detailed Description

char and string normalization for 7bit ascii only

Definition in file normalize7bit.c.

Function Documentation

◆ extract7bit_dates()

int extract7bit_dates ( const char *  buf,
int *  first,
int *  last,
int  longdate 
)

Definition at line 73 of file normalize7bit.c.

Referenced by record_metadata_init().

◆ normalize7bit_generic()

char* normalize7bit_generic ( char *  str,
const char *  rm_chars 
)

removes leading whitespace.. Removes suffix cahrs in rm_chars

Definition at line 36 of file normalize7bit.c.

Referenced by record_metadata_init(), and test_normalize7bit_generic().

◆ normalize7bit_mergekey()

char* normalize7bit_mergekey ( char *  buf)

Definition at line 47 of file normalize7bit.c.

Referenced by pp2_get_sort_ascii(), and test_normalize7bit_mergekey().