Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
5d1e56b5
Commit
5d1e56b5
authored
Jul 12, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'find_next' command
parent
06b2e543
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
114 additions
and
22 deletions
+114
-22
camogm.c
camogm.c
+1
-1
camogm_read.c
camogm_read.c
+111
-20
index_list.c
index_list.c
+1
-1
index_list.h
index_list.h
+1
-0
No files found.
camogm.c
View file @
5d1e56b5
...
@@ -812,7 +812,7 @@ void camogm_set_prefix(camogm_state *state, const char * p, path_type type)
...
@@ -812,7 +812,7 @@ void camogm_set_prefix(camogm_state *state, const char * p, path_type type)
D0
(
fprintf
(
debug_file
,
"WARNING: raw device write initiated
\n
"
));
D0
(
fprintf
(
debug_file
,
"WARNING: raw device write initiated
\n
"
));
state
->
rawdev_op
=
1
;
state
->
rawdev_op
=
1
;
/* debug code follows */
/* debug code follows */
state
->
rawdev
.
end_pos
=
128
*
1048576
;
state
->
rawdev
.
end_pos
=
(
uint64_t
)
4096
*
(
uint64_t
)
1048576
;
/* end of debug code */
/* end of debug code */
}
}
}
}
...
...
camogm_read.c
View file @
5d1e56b5
This diff is collapsed.
Click to expand it.
index_list.c
View file @
5d1e56b5
...
@@ -214,7 +214,7 @@ int remove_node(struct disk_idir *idir, struct disk_index *node)
...
@@ -214,7 +214,7 @@ int remove_node(struct disk_idir *idir, struct disk_index *node)
}
}
/**
/**
* Remove all entries from disk index directory an free memory
*
@brief
Remove all entries from disk index directory an free memory
* @param[in] idir pointer to disk index directory
* @param[in] idir pointer to disk index directory
* @return 0 in case the directory was successfully deleted and -1 if the directory was empty
* @return 0 in case the directory was successfully deleted and -1 if the directory was empty
*/
*/
...
...
index_list.h
View file @
5d1e56b5
...
@@ -62,6 +62,7 @@ struct disk_index {
...
@@ -62,6 +62,7 @@ struct disk_index {
struct
disk_idir
{
struct
disk_idir
{
struct
disk_index
*
head
;
struct
disk_index
*
head
;
struct
disk_index
*
tail
;
struct
disk_index
*
tail
;
struct
disk_index
*
curr_indx
;
size_t
size
;
size_t
size
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment