lkml.org 
[lkml]   [2003]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: seq_file and exporting dynamically allocated data
On Fri, 14 Nov 2003, Harald Welte wrote:
> The problem is, that seq_file is already using the file.private_data
> member...

there is a seq_file->private pointer where you can store private (per file
structure) data. That is what I do and it works very nice, BUT the problem
is that the ->private pointer was only added to seq_file recently
(2.4.20 if I remember correctly) although seq_file API was present since
2.4.15.

Kind regards
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.102 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site