version 1.74, 2010/05/17 22:11:42 |
version 1.77, 2010/06/26 15:36:37 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
#include <string.h> |
#include <string.h> |
|
|
#include "mandoc.h" |
#include "mandoc.h" |
|
#include "regs.h" |
#include "libman.h" |
#include "libman.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
|
|
Line 124 man_endparse(struct man *m) |
|
Line 125 man_endparse(struct man *m) |
|
|
|
|
|
int |
int |
man_parseln(struct man *m, int ln, char *buf, int offs) |
man_parseln(struct man *m, const struct regset *regs, |
|
int ln, char *buf, int offs) |
{ |
{ |
|
|
if (MAN_HALT & m->flags) |
if (MAN_HALT & m->flags) |
Line 146 man_free1(struct man *man) |
|
Line 148 man_free1(struct man *man) |
|
free(man->meta.title); |
free(man->meta.title); |
if (man->meta.source) |
if (man->meta.source) |
free(man->meta.source); |
free(man->meta.source); |
|
if (man->meta.rawdate) |
|
free(man->meta.rawdate); |
if (man->meta.vol) |
if (man->meta.vol) |
free(man->meta.vol); |
free(man->meta.vol); |
if (man->meta.msec) |
if (man->meta.msec) |