_Eina_Lines_Iterator Struct Reference

This represents a line iterator a file. More...

#include <eina_file_common.h>

Data Fields

Eina_Iterator iterator
 The iterator itself.
Eina_File * fp
 The file this iterator is associated with.
const char * map
 A pointer to the head of the file that has been mapped with mmap(2).
const char * end
 A pointer to the end of the file that has been mapped with mmap(2).
int boundary
 Currently hard coded to 4096.
Eina_File_Line current
 The current line.

Detailed Description

This represents a line iterator a file.

Field Documentation

◆ iterator

Eina_Iterator _Eina_Lines_Iterator::iterator

The iterator itself.

Referenced by eina_file_map_lines().

◆ fp

Eina_File* _Eina_Lines_Iterator::fp

The file this iterator is associated with.

Referenced by eina_file_map_lines().

◆ map

const char* _Eina_Lines_Iterator::map

A pointer to the head of the file that has been mapped with mmap(2).

Referenced by eina_file_map_lines().

◆ end

const char* _Eina_Lines_Iterator::end

A pointer to the end of the file that has been mapped with mmap(2).

Referenced by eina_file_map_lines().

◆ boundary

int _Eina_Lines_Iterator::boundary

Currently hard coded to 4096.

Referenced by eina_file_map_lines().

◆ current

Eina_File_Line _Eina_Lines_Iterator::current

The current line.

Referenced by eina_file_map_lines().