Example #1
0
PUBLIC int lex_rem()
{
	remove_trailing(yytext,"\r\n","\n");
	yylval.str = str_make(PARSE_POOL, yytext + 2);

	return remSYM;
}
Example #2
0
LockSubmitted *
lock_submitted_new (const gchar *path, const gchar *token)
{
  LockSubmitted *l;

  g_return_val_if_fail (path, NULL);
  g_return_val_if_fail (token, NULL);

  l = g_slice_new (LockSubmitted);

  l->path = g_strdup (path);
  l->token = g_strdup (token);

  remove_trailing (l->path, '/');

  return l;
}
void tag_processor::remove_id3v2_trailing(const service_ptr_t<file> & p_file,abort_callback & p_abort) {
    remove_id3v2(p_file,p_abort);
    remove_trailing(p_file,p_abort);
}