From: barbieri Date: Thu, 23 Apr 2009 03:05:22 +0000 (+0000) Subject: add new api docs. X-Git-Url: https://vcs.maemo.org/git/?p=lms;a=commitdiff_plain;h=5d28172f584aef7fc9fc711f180b0c65fad258c3 add new api docs. --- diff --git a/www/api/annotated.html b/www/api/annotated.html new file mode 100644 index 0000000..3f6d4b9 --- /dev/null +++ b/www/api/annotated.html @@ -0,0 +1,52 @@ + + +Light Media Scanner: Data Structures + + + + + +
+

Data Structures

Here are the data structures with brief descriptions: + + + + + + + + + + + + + + + + + + + +
cinfo
fds
lms
lms_audio_info
lms_context
lms_db_cache
lms_db_cache_entry
lms_file_info
lms_gps_info
lms_image_info
lms_parser_info
lms_playlist_info
lms_plugin
lms_plugin_info
lms_string_size
lms_video_info
parser
pinfo
sinfo
+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/classes.html b/www/api/classes.html new file mode 100644 index 0000000..1c4fe70 --- /dev/null +++ b/www/api/classes.html @@ -0,0 +1,44 @@ + + +Light Media Scanner: Alphabetical List + + + + + +
+

Data Structure Index

A | C | D | F | G | I | L | P | S | V

+ +
  A  
+
lms_file_info   pinfo   
lms_audio_info   
  G  
+
lms_playlist_info   
  C  
+
lms_gps_info   lms_plugin   
cinfo   
  I  
+
lms_plugin_info   
lms_context   lms_image_info   
  S  
+
  D  
+
  L  
+
sinfo   
lms_db_cache   lms   lms_string_size   
lms_db_cache_entry   
  P  
+
  V  
+
  F  
+
parser   lms_video_info   
fds   lms_parser_info   

A | C | D | F | G | I | L | P | S | V

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/doxygen.css b/www/api/doxygen.css new file mode 100644 index 0000000..3767dc9 --- /dev/null +++ b/www/api/doxygen.css @@ -0,0 +1,441 @@ +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; +} + +/* @group Heading Levels */ + +h1 { + text-align: center; + font-size: 150%; +} + +h2 { + font-size: 120%; +} + +h3 { + font-size: 100%; +} + +/* @end */ + +caption { + font-weight: bold; +} + +div.qindex, div.navtab{ + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #153788; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #1b77c5; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { +} + +a.codeRef { +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +.fragment { + font-family: monospace, fixed; + font-size: 105%; +} + +pre.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding: 4px 6px; + margin: 4px 8px 4px 2px; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} + +td.indexkey { + background-color: #e8eef2; + font-weight: bold; + border: 1px solid #CCCCCC; + margin: 2px 0px 2px 0; + padding: 2px 10px; +} + +td.indexvalue { + background-color: #e8eef2; + border: 1px solid #CCCCCC; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #f0f0f0; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} + +th.dirtab { + background: #e8eef2; + font-weight: bold; +} + +hr { + height: 0; + border: none; + border-top: 1px solid #666; +} + +/* @group Member Descriptions */ + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #FAFAFA; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #ccc; +} + +.memTemplParams { + color: #606060; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; +} + +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.memitem { + padding: 0; +} + +.memname { + white-space: nowrap; + font-weight: bold; +} + +.memproto, .memdoc { + border: 1px solid #84b0c7; +} + +.memproto { + padding: 0; + background-color: #d5e1e8; + font-weight: bold; + -webkit-border-top-left-radius: 8px; + -webkit-border-top-right-radius: 8px; + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; +} + +.memdoc { + padding: 2px 5px; + background-color: #eef3f5; + border-top-width: 0; + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ + +/* for the tree view */ + +.ftvtree { + font-family: sans-serif; + margin: 0.5em; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +address { + font-style: normal; + color: #333; +} diff --git a/www/api/doxygen.png b/www/api/doxygen.png new file mode 100644 index 0000000..f0a274b Binary files /dev/null and b/www/api/doxygen.png differ diff --git a/www/api/files.html b/www/api/files.html new file mode 100644 index 0000000..ef59015 --- /dev/null +++ b/www/api/files.html @@ -0,0 +1,49 @@ + + +Light Media Scanner: File Index + + + + + +
+

File List

Here is a list of all files with brief descriptions: + + + + + + + + + + + + + + + + + +
src/lib/lightmediascanner.c [code]
src/lib/lightmediascanner.h [code]
src/lib/lightmediascanner_charset_conv.c [code]
src/lib/lightmediascanner_charset_conv.h [code]
src/lib/lightmediascanner_check.c [code]
src/lib/lightmediascanner_db.h [code]
src/lib/lightmediascanner_db_audio.c [code]
src/lib/lightmediascanner_db_common.c [code]
src/lib/lightmediascanner_db_image.c [code]
src/lib/lightmediascanner_db_playlist.c [code]
src/lib/lightmediascanner_db_private.h [code]
src/lib/lightmediascanner_db_video.c [code]
src/lib/lightmediascanner_plugin.h [code]
src/lib/lightmediascanner_private.h [code]
src/lib/lightmediascanner_process.c [code]
src/lib/lightmediascanner_utils.c [code]
src/lib/lightmediascanner_utils.h [code]
+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/functions.html b/www/api/functions.html new file mode 100644 index 0000000..238c15e --- /dev/null +++ b/www/api/functions.html @@ -0,0 +1,254 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all struct and union fields with links to the structures/unions they belong to: +

+

- a -

+

- b -

+

- c -

+

- d -

+

- e -

+

- f -

+

- g -

+

- h -

+

- i -

+

- l -

+

- m -

+

- n -

+

- o -

+

- p -

+

- r -

+

- s -

+

- t -

+

- u -

+

- v -

+

- w -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/functions_vars.html b/www/api/functions_vars.html new file mode 100644 index 0000000..f59728a --- /dev/null +++ b/www/api/functions_vars.html @@ -0,0 +1,254 @@ + + +Light Media Scanner: Data Fields - Variables + + + + + +
+  +

+

- a -

+

- b -

+

- c -

+

- d -

+

- e -

+

- f -

+

- g -

+

- h -

+

- i -

+

- l -

+

- m -

+

- n -

+

- o -

+

- p -

+

- r -

+

- s -

+

- t -

+

- u -

+

- v -

+

- w -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals.html b/www/api/globals.html new file mode 100644 index 0000000..651fa58 --- /dev/null +++ b/www/api/globals.html @@ -0,0 +1,82 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- _ -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x61.html b/www/api/globals_0x61.html new file mode 100644 index 0000000..407ad80 --- /dev/null +++ b/www/api/globals_0x61.html @@ -0,0 +1,68 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- a -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x63.html b/www/api/globals_0x63.html new file mode 100644 index 0000000..e4f17e4 --- /dev/null +++ b/www/api/globals_0x63.html @@ -0,0 +1,114 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- c -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x64.html b/www/api/globals_0x64.html new file mode 100644 index 0000000..b431cf6 --- /dev/null +++ b/www/api/globals_0x64.html @@ -0,0 +1,227 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- d -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x66.html b/www/api/globals_0x66.html new file mode 100644 index 0000000..d98dfed --- /dev/null +++ b/www/api/globals_0x66.html @@ -0,0 +1,71 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- f -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x67.html b/www/api/globals_0x67.html new file mode 100644 index 0000000..560b8bf --- /dev/null +++ b/www/api/globals_0x67.html @@ -0,0 +1,93 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- g -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x69.html b/www/api/globals_0x69.html new file mode 100644 index 0000000..0becf10 --- /dev/null +++ b/www/api/globals_0x69.html @@ -0,0 +1,66 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- i -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x6c.html b/www/api/globals_0x6c.html new file mode 100644 index 0000000..83cef54 --- /dev/null +++ b/www/api/globals_0x6c.html @@ -0,0 +1,81 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- l -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x6e.html b/www/api/globals_0x6e.html new file mode 100644 index 0000000..1269f03 --- /dev/null +++ b/www/api/globals_0x6e.html @@ -0,0 +1,66 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- n -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x70.html b/www/api/globals_0x70.html new file mode 100644 index 0000000..3c9ce02 --- /dev/null +++ b/www/api/globals_0x70.html @@ -0,0 +1,133 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- p -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x72.html b/www/api/globals_0x72.html new file mode 100644 index 0000000..52581ea --- /dev/null +++ b/www/api/globals_0x72.html @@ -0,0 +1,66 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- r -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x73.html b/www/api/globals_0x73.html new file mode 100644 index 0000000..11e2f8c --- /dev/null +++ b/www/api/globals_0x73.html @@ -0,0 +1,88 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- s -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x74.html b/www/api/globals_0x74.html new file mode 100644 index 0000000..008ac24 --- /dev/null +++ b/www/api/globals_0x74.html @@ -0,0 +1,65 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- t -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_0x77.html b/www/api/globals_0x77.html new file mode 100644 index 0000000..cd21458 --- /dev/null +++ b/www/api/globals_0x77.html @@ -0,0 +1,66 @@ + + +Light Media Scanner: Data Fields + + + + + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: +

+

- w -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_defs.html b/www/api/globals_defs.html new file mode 100644 index 0000000..c5bf50a --- /dev/null +++ b/www/api/globals_defs.html @@ -0,0 +1,125 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

- _ -

+

- a -

+

- c -

+

- d -

+

- g -

+

- l -

+

- p -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_enum.html b/www/api/globals_enum.html new file mode 100644 index 0000000..671a041 --- /dev/null +++ b/www/api/globals_enum.html @@ -0,0 +1,47 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_eval.html b/www/api/globals_eval.html new file mode 100644 index 0000000..b6a94b9 --- /dev/null +++ b/www/api/globals_eval.html @@ -0,0 +1,59 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_func.html b/www/api/globals_func.html new file mode 100644 index 0000000..0d0b2dd --- /dev/null +++ b/www/api/globals_func.html @@ -0,0 +1,372 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

- c -

+

- d -

+

- f -

+

- g -

+

- i -

+

- n -

+

- p -

+

- r -

+

- s -

+

- w -

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_type.html b/www/api/globals_type.html new file mode 100644 index 0000000..650835f --- /dev/null +++ b/www/api/globals_type.html @@ -0,0 +1,79 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/globals_vars.html b/www/api/globals_vars.html new file mode 100644 index 0000000..e6ede61 --- /dev/null +++ b/www/api/globals_vars.html @@ -0,0 +1,47 @@ + + +Light Media Scanner: Data Fields + + + + + +
+  +

+

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/graph_legend.dot b/www/api/graph_legend.dot new file mode 100644 index 0000000..ec7b113 --- /dev/null +++ b/www/api/graph_legend.dot @@ -0,0 +1,23 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node9 [shape="box",label="Inherited",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",fillcolor="grey75",style="filled" fontcolor="black"]; + Node10 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [shape="box",label="PublicBase",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.html"]; + Node11 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [shape="box",label="Truncated",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.html"]; + Node13 -> Node9 [dir=back,color="darkgreen",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [shape="box",label="ProtectedBase",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBase.html"]; + Node14 -> Node9 [dir=back,color="firebrick4",fontsize="10",style="solid",fontname="FreeSans"]; + Node14 [shape="box",label="PrivateBase",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.html"]; + Node15 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node15 [shape="box",label="Undocumented",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="grey75"]; + Node16 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node16 [shape="box",label="Templ< int >",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; + Node17 -> Node16 [dir=back,color="orange",fontsize="10",style="dashed",label="< int >",fontname="FreeSans"]; + Node17 [shape="box",label="Templ< T >",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; + Node18 -> Node9 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="m_usedClass",fontname="FreeSans"]; + Node18 [shape="box",label="Used",fontsize="10",height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"]; +} diff --git a/www/api/graph_legend.html b/www/api/graph_legend.html new file mode 100644 index 0000000..50c1d77 --- /dev/null +++ b/www/api/graph_legend.html @@ -0,0 +1,86 @@ + + +Light Media Scanner: Graph Legend + + + + + +
+

Graph Legend

This page explains how to interpret the graphs that are generated by doxygen.

+Consider the following example:

/*! Invisible class because of truncation */
+class Invisible { };
+
+/*! Truncated class, inheritance relation is hidden */
+class Truncated : public Invisible { };
+
+/* Class not documented with doxygen comments */
+class Undocumented { };
+
+/*! Class that is inherited using public inheritance */
+class PublicBase : public Truncated { };
+
+/*! A template class */
+template<class T> class Templ { };
+
+/*! Class that is inherited using protected inheritance */
+class ProtectedBase { };
+
+/*! Class that is inherited using private inheritance */
+class PrivateBase { };
+
+/*! Class that is used by the Inherited class */
+class Used { };
+
+/*! Super class that inherits a number of other classes */
+class Inherited : public PublicBase,
+                  protected ProtectedBase,
+                  private PrivateBase,
+                  public Undocumented,
+                  public Templ<int>
+{
+  private:
+    Used *m_usedClass;
+};
+
This will result in the following graph:

+

+graph_legend.png +
+

+The boxes in the above graph have the following meaning:

+The arrows have the following meaning: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/group__LMS__API.html b/www/api/group__LMS__API.html new file mode 100644 index 0000000..7fe61a6 --- /dev/null +++ b/www/api/group__LMS__API.html @@ -0,0 +1,573 @@ + + +Light Media Scanner: User-API + + + + + +
+

User-API

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

lms_tlms_new (const char *db_path)
int lms_free (lms_t *lms)
lms_plugin_tlms_parser_add (lms_t *lms, const char *so_path)
lms_plugin_tlms_parser_find_and_add (lms_t *lms, const char *name)
int lms_parser_del (lms_t *lms, lms_plugin_t *handle)
int lms_is_processing (const lms_t *lms)
const char * lms_get_db_path (const lms_t *lms)
int lms_get_slave_timeout (const lms_t *lms)
void lms_set_slave_timeout (lms_t *lms, int ms)
unsigned int lms_get_commit_interval (const lms_t *lms)
void lms_set_commit_interval (lms_t *lms, unsigned int transactions)
int lms_charset_add (lms_t *lms, const char *charset)
int lms_charset_del (lms_t *lms, const char *charset)
+

Detailed Description

+Functions for library users.

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_charset_add (lms_t lms,
const char *  charset 
)
+
+
+ +

+Register a new charset encoding to be used.

+All database text strings are in UTF-8, so one needs to register new encodings in order to convert to it.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
charset charset name as understood by iconv_open(3).
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 496 of file lightmediascanner.c.

+ +

References lms::cs_conv, and lms_charset_conv_add().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_charset_del (lms_t lms,
const char *  charset 
)
+
+
+ +

+Forget about registered charset encoding.

+All database text strings are in UTF-8, so one needs to register new encodings in order to convert to it.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
charset charset name as understood by iconv_open(3).
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 519 of file lightmediascanner.c.

+ +

References lms::cs_conv, and lms_charset_conv_del().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
int lms_free (lms_t lms  ) 
+
+
+ +

+Free existing Light Media Scanner instance.

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 159 of file lightmediascanner.c.

+ +

References lms::cs_conv, lms::data, lms::db_path, lms::free_data, lms::is_processing, lms_charset_conv_free(), lms::n_parsers, lms::parsers, and lms::progress.

+ +

Referenced by lms_create_slave().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
unsigned int lms_get_commit_interval (const lms_t lms  ) 
+
+
+ +

+Get the number of files served between database transactions.

+This is used as an optimization to database access: doing database commits take some time and can slow things down too much, so you can choose to just commit after some number of files are processed, this is the commit_interval.

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
(unsigned int)-1 on error, value otherwise.
+ +

Definition at line 449 of file lightmediascanner.c.

+ +

References lms::commit_interval.

+ +
+

+ +

+
+ + + + + + + + + +
const char* lms_get_db_path (const lms_t lms  ) 
+
+
+ +

+Get the database path given at creation time.

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
path to database.
+ +

Definition at line 385 of file lightmediascanner.c.

+ +

References lms::db_path.

+ +
+

+ +

+
+ + + + + + + + + +
int lms_get_slave_timeout (const lms_t lms  ) 
+
+
+ +

+Get the maximum amount of milliseconds the slave can take to serve one file.

+If a slave takes more than this amount of milliseconds, it will be killed and the scanner will continue with the next file.

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
-1 on error or time in milliseconds otherwise.
+ +

Definition at line 407 of file lightmediascanner.c.

+ +

References lms::slave_timeout.

+ +
+

+ +

+
+ + + + + + + + + +
int lms_is_processing (const lms_t lms  ) 
+
+
+ +

+Checks if Light Media Scanner is being used in a processing operation lile lms_process() or lms_check().

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
1 if it is processing, 0 if it's not, -1 on error.
+ +

Definition at line 366 of file lightmediascanner.c.

+ +

References lms::is_processing.

+ +
+

+ +

+
+ + + + + + + + + +
lms_t* lms_new (const char *  db_path  ) 
+
+
+ +

+Create new Light Media Scanner instance.

+

Parameters:
+ + +
db_path path to database file.
+
+
Returns:
allocated data on success or NULL on failure.
+ +

Definition at line 121 of file lightmediascanner.c.

+ +

References lms::commit_interval, lms::cs_conv, lms::db_path, DEFAULT_COMMIT_INTERVAL, DEFAULT_SLAVE_TIMEOUT, lms_charset_conv_free(), lms_charset_conv_new(), and lms::slave_timeout.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
lms_plugin_t* lms_parser_add (lms_t lms,
const char *  so_path 
)
+
+
+ +

+Add parser plugin given it's shared object path.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
so_path path to shared object (usable by dlopen(3)).
+
+
Returns:
On success the LMS handle to plugin is returned, NULL on error.
+ +

Definition at line 221 of file lightmediascanner.c.

+ +

References lms::is_processing, lms::n_parsers, lms::parsers, and parser::plugin.

+ +

Referenced by lms_parser_find_and_add().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_parser_del (lms_t lms,
lms_plugin_t handle 
)
+
+
+ +

+Delete previously added parser, making it unavailable for future operations.

+

Parameters:
+ + +
lms previously allocated Light Media Scanner instance.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 334 of file lightmediascanner.c.

+ +

References lms::is_processing, lms_parser_del_int(), lms::n_parsers, lms::parsers, and parser::plugin.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
lms_plugin_t* lms_parser_find_and_add (lms_t lms,
const char *  name 
)
+
+
+ +

+Add parser plugin given it's name.

+This will look at default plugin path by the file named name (plus the required shared object extension).

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
name plugin name.
+
+
Returns:
On success the LMS handle to plugin is returned, NULL on error.
+ +

Definition at line 279 of file lightmediascanner.c.

+ +

References lms_parser_add(), and parser::so_path.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void lms_set_commit_interval (lms_t lms,
unsigned int  transactions 
)
+
+
+ +

+Set the number of files served between database transactions.

+This is used as an optimization to database access: doing database commits take some time and can slow things down too much, so you can choose to just commit after transactions files are processed.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
transactions number of files (transactions) to process between commits.
+
+ +

Definition at line 472 of file lightmediascanner.c.

+ +

References lms::commit_interval.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void lms_set_slave_timeout (lms_t lms,
int  ms 
)
+
+
+ +

+Set the maximum amount of milliseconds the slave can take to serve one file.

+If a slave takes more than this amount of milliseconds, it will be killed and the scanner will continue with the next file.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
ms time in milliseconds.
+
+ +

Definition at line 427 of file lightmediascanner.c.

+ +

References lms::slave_timeout.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.dot b/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.dot new file mode 100644 index 0000000..60921e7 --- /dev/null +++ b/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_charset_del",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_charset_conv_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8c.html#ad60dd3a2c2ebcf9ee1100986fc572e4"]; +} diff --git a/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.md5 b/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.md5 new file mode 100644 index 0000000..39ca080 --- /dev/null +++ b/www/api/group__LMS__API_g0b427b8b60957e29a0e504c10c5356b0_cgraph.md5 @@ -0,0 +1 @@ +c1465f4100d586a92059ee1751b73a38 \ No newline at end of file diff --git a/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.dot b/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.dot new file mode 100644 index 0000000..ff79ced --- /dev/null +++ b/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parser_del",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_del_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#e6ccb942742cf65cc1cf866aceb4bddf"]; +} diff --git a/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.md5 b/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.md5 new file mode 100644 index 0000000..63d6717 --- /dev/null +++ b/www/api/group__LMS__API_g1da5e5f834e0289ea49a0fbc2280feda_cgraph.md5 @@ -0,0 +1 @@ +d49bba44f04377201db3233e34967efb \ No newline at end of file diff --git a/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.dot b/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.dot new file mode 100644 index 0000000..2c28c97 --- /dev/null +++ b/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_charset_add",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_charset_conv_add",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8c.html#0a3006beae6fc8c59eca75468c1bc000"]; +} diff --git a/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.md5 b/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.md5 new file mode 100644 index 0000000..9fdeea6 --- /dev/null +++ b/www/api/group__LMS__API_g4fd56e209d415b27466274726cc7d59f_cgraph.md5 @@ -0,0 +1 @@ +6af54acd6fbd829ab48fcc7e7bc2509f \ No newline at end of file diff --git a/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.dot b/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.dot new file mode 100644 index 0000000..536e130 --- /dev/null +++ b/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parser_find_and_add",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_add",height=0.2,width=0.4,color="black",URL="$group__LMS__API.html#g7b93a24e73af8b5d46b2507dd70ac588"]; +} diff --git a/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.md5 b/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.md5 new file mode 100644 index 0000000..2e15561 --- /dev/null +++ b/www/api/group__LMS__API_g74b81422ff46a46b4b0fc44e8709ecee_cgraph.md5 @@ -0,0 +1 @@ +53a4009f3dbd67da95e7f946557a359d \ No newline at end of file diff --git a/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.dot b/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.dot new file mode 100644 index 0000000..61beb66 --- /dev/null +++ b/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.dot @@ -0,0 +1,14 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_charset_conv_free",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g960ce31bca428212abdd60c12b878091"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_charset_conv_new",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g0120c222a55e6d7d9bb24300300561ab"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_charset_conv_new_full",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g893421821eacaa0fd2020c872361af15"]; +} diff --git a/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.md5 b/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.md5 new file mode 100644 index 0000000..56d802e --- /dev/null +++ b/www/api/group__LMS__API_g982939bdd2aeb664b5cf7a50b67c1030_cgraph.md5 @@ -0,0 +1 @@ +fc857f49d3593baad7e87ec77fe52d8f \ No newline at end of file diff --git a/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.dot b/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.dot new file mode 100644 index 0000000..2a41402 --- /dev/null +++ b/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_charset_conv_free",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g960ce31bca428212abdd60c12b878091"]; +} diff --git a/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.md5 b/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.md5 new file mode 100644 index 0000000..8ebd56a --- /dev/null +++ b/www/api/group__LMS__API_gf15f3b0f7de2113155a360df989b7687_cgraph.md5 @@ -0,0 +1 @@ +f5f810d9e9a7f974992ac9e9d9a05153 \ No newline at end of file diff --git a/www/api/group__LMS__CHARSET.html b/www/api/group__LMS__CHARSET.html new file mode 100644 index 0000000..c2ea7a8 --- /dev/null +++ b/www/api/group__LMS__CHARSET.html @@ -0,0 +1,332 @@ + + +Light Media Scanner: Charset Conversion + + + + + +
+

Charset Conversion

+ + + + + + + + + + + + + + + + + + + + + +

Typedefs

typedef struct lms_charset_conv lms_charset_conv_t

Functions

API lms_charset_conv_tlms_charset_conv_new_full (int use_check, int use_fallback) GNUC_MALLOC GNUC_WARN_UNUSED_RESULT
API lms_charset_conv_tlms_charset_conv_new (void) GNUC_MALLOC GNUC_WARN_UNUSED_RESULT
API void lms_charset_conv_free (lms_charset_conv_t *lcc) GNUC_NON_NULL(1)
API int lms_charset_conv_add (lms_charset_conv_t *lcc, const char *charset) GNUC_NON_NULL(1
API int API int lms_charset_conv_del (lms_charset_conv_t *lcc, const char *charset) GNUC_NON_NULL(1
API int API int API int lms_charset_conv (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len) GNUC_NON_NULL(1
API int API int API int API int lms_charset_conv_force (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len) GNUC_NON_NULL(1
API int API int API int API
+int API int 
lms_charset_conv_check (lms_charset_conv_t *lcc, const char *str, unsigned int len) GNUC_NON_NULL(1
+

Detailed Description

+Utilities to convert strings to UTF-8, the charset used in database.

Typedef Documentation

+ +
+
+ + + + +
typedef struct lms_charset_conv lms_charset_conv_t
+
+
+ +

+ +

Definition at line 72 of file lightmediascanner_charset_conv.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
API int API int API int lms_charset_conv (lms_charset_conv_t lcc,
char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int lms_charset_conv_add (lms_charset_conv_t lcc,
const char *  charset 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
API int API int API int API int API int lms_charset_conv_check (lms_charset_conv_t lcc,
const char *  str,
unsigned int  len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int API int lms_charset_conv_del (lms_charset_conv_t lcc,
const char *  charset 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
API int API int API int API int lms_charset_conv_force (lms_charset_conv_t lcc,
char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API void lms_charset_conv_free (lms_charset_conv_t lcc  ) 
+
+
+ +

+Free existing charset conversion tool.

+

Parameters:
+ + +
lcc existing Light Media Scanner charset conversion.
+
+ +

Definition at line 112 of file lightmediascanner_charset_conv.c.

+ +

Referenced by lms_free(), and lms_new().

+ +
+

+ +

+
+ + + + + + + + + +
API lms_charset_conv_t* lms_charset_conv_new (void   ) 
+
+
+ +

+Create a new charset conversion tool.

+Conversion tool will try to convert provided strings to UTF-8, just need to register known charsets with lms_charset_conv_add() and then call lms_charset_conv().

+

Returns:
newly allocated conversion tool or NULL on error.
+ +

Definition at line 101 of file lightmediascanner_charset_conv.c.

+ +

References lms_charset_conv_new_full().

+ +

Referenced by lms_new().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API lms_charset_conv_t* lms_charset_conv_new_full (int  use_check,
int  use_fallback 
)
+
+
+ +

+Create a new charset conversion tool controlling its behavior.

+Conversion tool will try to convert provided strings to UTF-8, just need to register known charsets with lms_charset_conv_add() and then call lms_charset_conv().

+

Returns:
newly allocated conversion tool or NULL on error.
+ +

Definition at line 47 of file lightmediascanner_charset_conv.c.

+ +

Referenced by lms_charset_conv_new().

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.dot b/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.dot new file mode 100644 index 0000000..eceb725 --- /dev/null +++ b/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_charset_conv_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_charset_conv_new_full",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g893421821eacaa0fd2020c872361af15"]; +} diff --git a/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.md5 b/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.md5 new file mode 100644 index 0000000..f9798b8 --- /dev/null +++ b/www/api/group__LMS__CHARSET_g0120c222a55e6d7d9bb24300300561ab_cgraph.md5 @@ -0,0 +1 @@ +d41cafd4886e092014a73b3b2d2588a1 \ No newline at end of file diff --git a/www/api/group__LMS__DB.html b/www/api/group__LMS__DB.html new file mode 100644 index 0000000..1219032 --- /dev/null +++ b/www/api/group__LMS__DB.html @@ -0,0 +1,743 @@ + + +Light Media Scanner: DataBase-API + + + + + +
+

DataBase-API

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_gps_info
struct  lms_image_info
struct  lms_audio_info
struct  lms_video_info
struct  lms_playlist_info

Typedefs

typedef struct lms_db_image lms_db_image_t
typedef struct lms_db_audio lms_db_audio_t
typedef struct lms_db_video lms_db_video_t
typedef struct lms_db_playlist lms_db_playlist_t

Functions

API lms_db_image_tlms_db_image_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_image_start (lms_db_image_t *ldi) GNUC_NON_NULL(1)
API int lms_db_image_free (lms_db_image_t *ldi) GNUC_NON_NULL(1)
API int lms_db_image_add (lms_db_image_t *ldi, struct lms_image_info *info) GNUC_NON_NULL(1
API lms_db_audio_tlms_db_audio_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_audio_start (lms_db_audio_t *lda) GNUC_NON_NULL(1)
API int lms_db_audio_free (lms_db_audio_t *lda) GNUC_NON_NULL(1)
API int lms_db_audio_add (lms_db_audio_t *lda, struct lms_audio_info *info) GNUC_NON_NULL(1
API lms_db_video_tlms_db_video_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_video_start (lms_db_video_t *ldv) GNUC_NON_NULL(1)
API int lms_db_video_free (lms_db_video_t *ldv) GNUC_NON_NULL(1)
API int lms_db_video_add (lms_db_video_t *ldv, struct lms_video_info *info) GNUC_NON_NULL(1
API lms_db_playlist_tlms_db_playlist_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_playlist_start (lms_db_playlist_t *ldp) GNUC_NON_NULL(1)
API int lms_db_playlist_free (lms_db_playlist_t *ldp) GNUC_NON_NULL(1)
API int lms_db_playlist_add (lms_db_playlist_t *ldp, struct lms_playlist_info *info) GNUC_NON_NULL(1
+

Detailed Description

+Although Light Media Scanner uses SQLite3 and doesn't try to hide it from plugins/parsers, it does provide some utilities to make development easier and less error prone.

Typedef Documentation

+ +
+
+ + + + +
typedef struct lms_db_audio lms_db_audio_t
+
+
+ +

+ +

Definition at line 97 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
typedef struct lms_db_image lms_db_image_t
+
+
+ +

+ +

Definition at line 78 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
typedef struct lms_db_playlist lms_db_playlist_t
+
+
+ +

+ +

Definition at line 125 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
typedef struct lms_db_video lms_db_video_t
+
+
+ +

+ +

Definition at line 111 of file lightmediascanner_db.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
API int lms_db_audio_add (lms_db_audio_t lda,
struct lms_audio_info info 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API int lms_db_audio_free (lms_db_audio_t lda  ) 
+
+
+ +

+Free audio DB access tool.

+Unreference and possible free resources allocated to access tool.

+This is usually called from plugin's finish() callback.

+

Parameters:
+ + +
lda handle returned by lms_db_audio_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 402 of file lightmediascanner_db_audio.c.

+ +

References lms_db_cache_del(), and lms_db_finalize_stmt().

+ +

Referenced by lms_db_audio_new().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API lms_db_audio_t* lms_db_audio_new (sqlite3 *  db  ) 
+
+
+ +

+Create audio DB access tool.

+Creates or get a reference to tools to access 'audios' table in an optimized and easy way.

+This is usually called from plugin's setup() callback with the db got from ctxt.

+

Parameters:
+ + +
db database connection.
+
+
Returns:
DB access tool handle.
+ +

Definition at line 297 of file lightmediascanner_db_audio.c.

+ +

References lms_db_audio_free(), lms_db_cache_add(), and lms_db_cache_get().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API int lms_db_audio_start (lms_db_audio_t lda  ) 
+
+
+ +

+Start audio DB access tool.

+Compile SQL statements and other initialization functions.

+This is usually called from plugin's start() callback.

+

Parameters:
+ + +
lda handle returned by lms_db_audio_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 341 of file lightmediascanner_db_audio.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int lms_db_image_add (lms_db_image_t ldi,
struct lms_image_info info 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API int lms_db_image_free (lms_db_image_t ldi  ) 
+
+
+ +

+Free image DB access tool.

+Unreference and possible free resources allocated to access tool.

+This is usually called from plugin's finish() callback.

+

Parameters:
+ + +
ldi handle returned by lms_db_image_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 193 of file lightmediascanner_db_image.c.

+ +

References lms_db_cache_del(), and lms_db_finalize_stmt().

+ +

Referenced by lms_db_image_new().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API lms_db_image_t* lms_db_image_new (sqlite3 *  db  ) 
+
+
+ +

+Create image DB access tool.

+Creates or get a reference to tools to access 'images' table in an optimized and easy way.

+This is usually called from plugin's setup() callback with the db got from ctxt.

+

Parameters:
+ + +
db database connection.
+
+
Returns:
DB access tool handle.
+ +

Definition at line 117 of file lightmediascanner_db_image.c.

+ +

References lms_db_cache_add(), lms_db_cache_get(), and lms_db_image_free().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API int lms_db_image_start (lms_db_image_t ldi  ) 
+
+
+ +

+Start image DB access tool.

+Compile SQL statements and other initialization functions.

+This is usually called from plugin's start() callback.

+

Parameters:
+ + +
ldi handle returned by lms_db_image_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 161 of file lightmediascanner_db_image.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int lms_db_playlist_add (lms_db_playlist_t ldp,
struct lms_playlist_info info 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API int lms_db_playlist_free (lms_db_playlist_t ldp  ) 
+
+
+ +

+Free playlist DB access tool.

+Unreference and possible free resources allocated to access tool.

+This is usually called from plugin's finish() callback.

+

Parameters:
+ + +
ldp handle returned by lms_db_playlist_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 185 of file lightmediascanner_db_playlist.c.

+ +

References lms_db_cache_del(), and lms_db_finalize_stmt().

+ +

Referenced by lms_db_playlist_new().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API lms_db_playlist_t* lms_db_playlist_new (sqlite3 *  db  ) 
+
+
+ +

+Create playlist DB access tool.

+Creates or get a reference to tools to access 'playlists' table in an optimized and easy way.

+This is usually called from plugin's setup() callback with the db got from ctxt.

+

Parameters:
+ + +
db database connection.
+
+
Returns:
DB access tool handle.
+ +

Definition at line 111 of file lightmediascanner_db_playlist.c.

+ +

References lms_db_cache_add(), lms_db_cache_get(), and lms_db_playlist_free().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API int lms_db_playlist_start (lms_db_playlist_t ldp  ) 
+
+
+ +

+Start playlist DB access tool.

+Compile SQL statements and other initialization functions.

+This is usually called from plugin's start() callback.

+

Parameters:
+ + +
ldp handle returned by lms_db_playlist_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 155 of file lightmediascanner_db_playlist.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int lms_db_video_add (lms_db_video_t ldv,
struct lms_video_info info 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API int lms_db_video_free (lms_db_video_t ldv  ) 
+
+
+ +

+Free video DB access tool.

+Unreference and possible free resources allocated to access tool.

+This is usually called from plugin's finish() callback.

+

Parameters:
+ + +
ldv handle returned by lms_db_video_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 197 of file lightmediascanner_db_video.c.

+ +

References lms_db_cache_del(), and lms_db_finalize_stmt().

+ +

Referenced by lms_db_video_new().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API lms_db_video_t* lms_db_video_new (sqlite3 *  db  ) 
+
+
+ +

+Create video DB access tool.

+Creates or get a reference to tools to access 'videos' table in an optimized and easy way.

+This is usually called from plugin's setup() callback with the db got from ctxt.

+

Parameters:
+ + +
db database connection.
+
+
Returns:
DB access tool handle.
+ +

Definition at line 124 of file lightmediascanner_db_video.c.

+ +

References lms_db_cache_add(), lms_db_cache_get(), and lms_db_video_free().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API int lms_db_video_start (lms_db_video_t ldv  ) 
+
+
+ +

+Start video DB access tool.

+Compile SQL statements and other initialization functions.

+This is usually called from plugin's start() callback.

+

Parameters:
+ + +
ldv handle returned by lms_db_video_new().
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 168 of file lightmediascanner_db_video.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.dot b/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.dot new file mode 100644 index 0000000..aaa0f00 --- /dev/null +++ b/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.dot @@ -0,0 +1,18 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_audio_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_audio_free",height=0.2,width=0.4,color="black",URL="$group__LMS__DB.html#g7560f9dab2ecd309290d200ea809375d"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_cache_add",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#19b0458b9d7b76370588156e931a9c04"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_cache_get",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#e7a672fa5760bae1a669c737648fe7d3"]; +} diff --git a/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.md5 b/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.md5 new file mode 100644 index 0000000..039a149 --- /dev/null +++ b/www/api/group__LMS__DB_g09c4349148be1bdf02f069f8acb191ee_cgraph.md5 @@ -0,0 +1 @@ +715dce3d4043b5df4f55c61584d34fe7 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.dot b/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.dot new file mode 100644 index 0000000..c65a80a --- /dev/null +++ b/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_video_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.md5 b/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.md5 new file mode 100644 index 0000000..c348c1f --- /dev/null +++ b/www/api/group__LMS__DB_g0ebc0dd37b1c9bcaf7741231a411ade2_cgraph.md5 @@ -0,0 +1 @@ +e99557883889bb3219c753f7d39b9ae4 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.dot b/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.dot new file mode 100644 index 0000000..9c7a845 --- /dev/null +++ b/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.dot @@ -0,0 +1,18 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_playlist_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_add",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#19b0458b9d7b76370588156e931a9c04"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_cache_get",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#e7a672fa5760bae1a669c737648fe7d3"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_playlist_free",height=0.2,width=0.4,color="black",URL="$group__LMS__DB.html#ge0e003fb6c8deccf8c15a7cedb88c789"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.md5 b/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.md5 new file mode 100644 index 0000000..4e166b4 --- /dev/null +++ b/www/api/group__LMS__DB_g379e3bbb3f4a87b1d389df587dec0875_cgraph.md5 @@ -0,0 +1 @@ +1ddd68957b34f9aa58441ba7b05d067c \ No newline at end of file diff --git a/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.dot b/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.dot new file mode 100644 index 0000000..713ff34 --- /dev/null +++ b/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_audio_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.md5 b/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.md5 new file mode 100644 index 0000000..39ea28a --- /dev/null +++ b/www/api/group__LMS__DB_g39731623b0bc5436858820a94487fdc1_cgraph.md5 @@ -0,0 +1 @@ +b752c53558785d91f62cb6f45921ae44 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.dot b/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.dot new file mode 100644 index 0000000..1668ff0 --- /dev/null +++ b/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.dot @@ -0,0 +1,18 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_image_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_add",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#19b0458b9d7b76370588156e931a9c04"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_cache_get",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#e7a672fa5760bae1a669c737648fe7d3"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_image_free",height=0.2,width=0.4,color="black",URL="$group__LMS__DB.html#g5160a3f620f1ebd562b6ec0add0f65a6"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.md5 b/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.md5 new file mode 100644 index 0000000..e1a0643 --- /dev/null +++ b/www/api/group__LMS__DB_g3eac8dbebc0a847b63702e531872e2e7_cgraph.md5 @@ -0,0 +1 @@ +ce7412eb280b1d449e9612b4fcf71726 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.dot b/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.dot new file mode 100644 index 0000000..c7c20a9 --- /dev/null +++ b/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_image_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.md5 b/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.md5 new file mode 100644 index 0000000..b6481d0 --- /dev/null +++ b/www/api/group__LMS__DB_g5160a3f620f1ebd562b6ec0add0f65a6_cgraph.md5 @@ -0,0 +1 @@ +96732aef82064dcb9942de2d0d86f632 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.dot b/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.dot new file mode 100644 index 0000000..b2aa0e0 --- /dev/null +++ b/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_image_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.md5 b/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.md5 new file mode 100644 index 0000000..9500a47 --- /dev/null +++ b/www/api/group__LMS__DB_g66dc91038d76fa96d9feaaa119e2ae56_cgraph.md5 @@ -0,0 +1 @@ +93723aa5812aaf52c1d8f179eb23d3f1 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.dot b/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.dot new file mode 100644 index 0000000..3c140db --- /dev/null +++ b/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_video_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.md5 b/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.md5 new file mode 100644 index 0000000..5d9a75c --- /dev/null +++ b/www/api/group__LMS__DB_g6be7c0922e76acc29542643424cfeac0_cgraph.md5 @@ -0,0 +1 @@ +e60e5af762901b1939a963e0b229c6ce \ No newline at end of file diff --git a/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.dot b/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.dot new file mode 100644 index 0000000..26ee980 --- /dev/null +++ b/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_audio_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.md5 b/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.md5 new file mode 100644 index 0000000..9409344 --- /dev/null +++ b/www/api/group__LMS__DB_g7560f9dab2ecd309290d200ea809375d_cgraph.md5 @@ -0,0 +1 @@ +976f2cbc002d8eb854a9ea13afae4d20 \ No newline at end of file diff --git a/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.dot b/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.dot new file mode 100644 index 0000000..d3228cd --- /dev/null +++ b/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_playlist_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.md5 b/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.md5 new file mode 100644 index 0000000..2d97e63 --- /dev/null +++ b/www/api/group__LMS__DB_g9a0ba775eacd1abdc6bfd08c26bbd437_cgraph.md5 @@ -0,0 +1 @@ +63c4a37d581fb662f57ac25962d65f5b \ No newline at end of file diff --git a/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.dot b/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.dot new file mode 100644 index 0000000..4b0d6f5 --- /dev/null +++ b/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.dot @@ -0,0 +1,18 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_video_new",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_add",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#19b0458b9d7b76370588156e931a9c04"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_cache_get",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#e7a672fa5760bae1a669c737648fe7d3"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_video_free",height=0.2,width=0.4,color="black",URL="$group__LMS__DB.html#g6be7c0922e76acc29542643424cfeac0"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.md5 b/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.md5 new file mode 100644 index 0000000..dc60263 --- /dev/null +++ b/www/api/group__LMS__DB_ga206178e1f883c1bf7a3281f982109b2_cgraph.md5 @@ -0,0 +1 @@ +9aa83f1a22652fba49ec7d366c8cc14f \ No newline at end of file diff --git a/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.dot b/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.dot new file mode 100644 index 0000000..76657f4 --- /dev/null +++ b/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_playlist_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_cache_del",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#296c81e4c64be1c7935ef31038aeb2c0"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; +} diff --git a/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.md5 b/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.md5 new file mode 100644 index 0000000..e8ebcca --- /dev/null +++ b/www/api/group__LMS__DB_ge0e003fb6c8deccf8c15a7cedb88c789_cgraph.md5 @@ -0,0 +1 @@ +9d951140514630d96a26196cbeffe7bd \ No newline at end of file diff --git a/www/api/group__LMS__Plugin.html b/www/api/group__LMS__Plugin.html new file mode 100644 index 0000000..d43fdcc --- /dev/null +++ b/www/api/group__LMS__Plugin.html @@ -0,0 +1,82 @@ + + +Light Media Scanner: Plugins-API + + + + + +
+

Plugins-API

+ +
+Copyright (C) 2008 by ProFUSION 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
+Plugins should implement the following call that provides required callbacks (see lightmediascanner_plugin.h):

+

    struct lms_plugin *lms_plugin_open(void)
+    const struct lms_plugin_info *lms_plugin_info(void)
+

+where:

+

    struct lms_plugin {
+       const char *name;
+       lms_plugin_match_fn_t match;
+       lms_plugin_parse_fn_t parse;
+       lms_plugin_close_fn_t close;
+       lms_plugin_setup_fn_t setup;
+       lms_plugin_start_fn_t start;
+       lms_plugin_finish_fn_t finish;
+    };
+
+
+    struct lms_plugin_info {
+        const char *name;
+        const char *category;
+        const char *description;
+        const char *version;
+        const char *author;
+        const char *uri;
+    };
+

+Users can add their own data to the end of this data structure. Callbacks and their meanings are:

+

    void *match(lms_plugin_t *p,
+                const char *path,
+                int len,
+                int base)
+

+Given the file 'path' of 'len' bytes, with base name starting at 'base' bytes offset inside 'path', return a match. Non-NULL values means it matched, and this return will be given to parse() function so any match-time analysis can be reused. This function will be used in the slave process.

+

    int parse(lms_plugin_t *p,
+              struct lms_context *ctxt,
+              const struct lms_file_info *finfo,
+              void *match)
+

+Given the parsing context 'ctxt' (contains DB connection, charset conversion pointers and possible more), parse the file information 'finfo' using the previously matched data 'match'. This should return 0 on success or other value for errors. This will be used in the slave process.

+

    int close(lms_plugin_t *p)
+

+Closes the plugin returned by lms_plugin_open(), this will run on the master process.

+

    int setup(lms_plugin_t *p, struct lms_context *ctxt)
+

+Prepare parser to be executed. This is the first phase of plugin initialization on the slave process, it should create database tables and like, after this function is called, no database schema changes are allowed!

+

    int start(lms_plugin_t *p, struct lms_context *ctxt)
+

+This is the second phase of plugin initialization on the slave process. At this point, all database tables should exist and database schema will not be changed anymore, so one can use this phase to compile SQL statements for future use.

+

    int finish(lms_plugin_t *p, struct lms_context *ctxt)
+

+Finishes the plugin on slave process.

+Although LMS doesn't place any restrictions on what plugins can do and how they store information, it's good to have standard tables and easy way to store data on them. For this task we provide lightmediascanner_db.h with functions to add audios, images, videos, playlists and possible more. Use should be pretty straightforward, see existing plugins to see usage examples.

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/index.html b/www/api/index.html new file mode 100644 index 0000000..377c5c6 --- /dev/null +++ b/www/api/index.html @@ -0,0 +1,59 @@ + + +Light Media Scanner: Main Page + + + + + +
+

Light Media Scanner Documentation

+

+

0.1

Copyright (C) 2008 by ProFUSION embedded systems Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <barbieri@profusion.mobi>

+Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>

+The architecture is based on 2 processes that cooperate, the first is the driver, that controls the behavior of the worker/slave process, that does the hard work. This slave process is meant to make the software more robust since some parser libraries and even user-provided media is not reliable, so if for some reason the worker process freezes, it's killed and then restarted with the next item.

+User API is quite simple, with means to add new charsets to be tried and new parsers to handle media. The most important functions are (see lightmediascanner.h):

+

+

+

Note:
The whole library follows libC standard of "0 (zero) means success", unless explicitly stated (usually boolean queries where no error is possible/interesting).
+The first will walk all the files and children directories of top_path, check if files are handled by some parser and if they're, they'll be parsed and registered in the data base.

+The second will get all already registered media in data base that is located at top_path and see if they're still up to date, deleted or changed. If they were deleted, a flag is set on data base with current time, so it can be expired at some point. If they were marked as deleted, but are not present again, check if the state is still valid (mtime, size), so we can avoid re-parse of removable media. If the file was present and is still present, just check if its properties (mtime, size) are still the same, if not trigger re-parse.

+Parsers are handled as shared object plugins, they can be added without modification to the core, see the plugins API later in this document. Since the core have no control over plugins, they can register data as they want, but since some utilities are provided, we expect that the given data base tables are used:

+

+
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner_8c-source.html b/www/api/lightmediascanner_8c-source.html new file mode 100644 index 0000000..6a8a8d5 --- /dev/null +++ b/www/api/lightmediascanner_8c-source.html @@ -0,0 +1,672 @@ + + +Light Media Scanner: src/lib/lightmediascanner.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner_8c.html b/www/api/lightmediascanner_8c.html new file mode 100644 index 0000000..9941142 --- /dev/null +++ b/www/api/lightmediascanner_8c.html @@ -0,0 +1,421 @@ + + +Light Media Scanner: src/lib/lightmediascanner.c File Reference + + + + + +
+

src/lib/lightmediascanner.c File Reference

#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <dirent.h>
+#include <errno.h>
+#include "lightmediascanner.h"
+#include "lightmediascanner_private.h"
+#include "lightmediascanner_plugin.h"
+ +

+

+Include dependency graph for lightmediascanner.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define DEFAULT_SLAVE_TIMEOUT   1000
#define DEFAULT_COMMIT_INTERVAL   100

Functions

lms_tlms_new (const char *db_path)
int lms_free (lms_t *lms)
void lms_set_progress_callback (lms_t *lms, lms_progress_callback_t cb, const void *data, lms_free_callback_t free_data)
lms_plugin_tlms_parser_add (lms_t *lms, const char *so_path)
lms_plugin_tlms_parser_find_and_add (lms_t *lms, const char *name)
int lms_parser_del_int (lms_t *lms, int i)
int lms_parser_del (lms_t *lms, lms_plugin_t *handle)
int lms_is_processing (const lms_t *lms)
const char * lms_get_db_path (const lms_t *lms)
int lms_get_slave_timeout (const lms_t *lms)
void lms_set_slave_timeout (lms_t *lms, int ms)
unsigned int lms_get_commit_interval (const lms_t *lms)
void lms_set_commit_interval (lms_t *lms, unsigned int transactions)
int lms_charset_add (lms_t *lms, const char *charset)
int lms_charset_del (lms_t *lms, const char *charset)
void lms_parsers_list (int(*cb)(void *data, const char *path), const void *data)
void lms_parsers_list_by_category (const char *category, int(*cb)(void *data, const char *path, const struct lms_parser_info *info), const void *data)
struct lms_parser_infolms_parser_info (const char *so_path)
struct lms_parser_infolms_parser_info_find (const char *name)
void lms_parser_info_free (struct lms_parser_info *info)
+


Define Documentation

+ +
+
+ + + + +
#define DEFAULT_COMMIT_INTERVAL   100
+
+
+ +

+ +

Definition at line 37 of file lightmediascanner.c.

+ +

Referenced by lms_new().

+ +
+

+ +

+
+ + + + +
#define DEFAULT_SLAVE_TIMEOUT   1000
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 36 of file lightmediascanner.c.

+ +

Referenced by lms_new().

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_parser_del_int (lms_t lms,
int  i 
)
+
+
+ +

+ +

Definition at line 294 of file lightmediascanner.c.

+ +

References lms::n_parsers, and lms::parsers.

+ +

Referenced by lms_parser_del(), lms_parsers_setup(), and lms_parsers_start().

+ +
+

+ +

+
+ + + + + + + + + +
struct lms_parser_info* lms_parser_info (const char *  so_path  )  [read]
+
+
+ +

+Get parser information.

+Information can be used to let user choose parsers on Graphical User Interfaces.

+

Parameters:
+ + +
so_path full path to module.
+
+
See also:
lms_parser_info_find()
+ +

Definition at line 699 of file lightmediascanner.c.

+ +

References lms_parser_info::authors, lms_plugin_info::authors, lms_parser_info::categories, lms_plugin_info::categories, lms_parser_info::description, lms_plugin_info::description, lms_parser_info::name, lms_plugin_info::name, lms_parser_info::path, lms_parser_info::uri, lms_plugin_info::uri, lms_parser_info::version, and lms_plugin_info::version.

+ +

Referenced by lms_parser_info_find().

+ +
+

+ +

+
+ + + + + + + + + +
struct lms_parser_info* lms_parser_info_find (const char *  name  )  [read]
+
+
+ +

+Find parser by name and get its information.

+Information can be used to let user choose parsers on Graphical User Interfaces.

+

Parameters:
+ + +
name name of .so to find the whole so_path and retrieve information.
+
+
See also:
lms_parser_info()
+ +

Definition at line 824 of file lightmediascanner.c.

+ +

References lms_parser_info().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
void lms_parser_info_free (struct lms_parser_info info  ) 
+
+
+ +

+Free previously returned information.

+

Note:
it is safe to call with NULL.
+ +

Definition at line 843 of file lightmediascanner.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void lms_parsers_list (int(*)(void *data, const char *path)  cb,
const void *  data 
)
+
+
+ +

+List all known parsers on the system.

+No information is retrieved, you might like to call lms_parser_info() on the callback path.

+

Parameters:
+ + + +
cb function to call for each path found. If it returns 0, it stops iteraction.
data extra data to pass to cb on every call.
+
+ +

Definition at line 540 of file lightmediascanner.c.

+ +

Referenced by lms_parsers_list_by_category().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void lms_parsers_list_by_category (const char *  category,
int(*)(void *data, const char *path, const struct lms_parser_info *info)  cb,
const void *  data 
)
+
+
+ +

+List all known parsers of a given category.

+Since we need information to figure out parser category, these are passed as argument to callback, but you should NOT modify or reference it after callback function returns since it will be released after that.

+

Parameters:
+ + + + +
category which category to match.
cb function to call for each path found. If it returns 0, it stops iteraction.
data extra data to pass to cb on every call.
+
+ +

Definition at line 629 of file lightmediascanner.c.

+ +

References lms_parsers_list().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void lms_set_progress_callback (lms_t lms,
lms_progress_callback_t  cb,
const void *  data,
lms_free_callback_t  free_data 
)
+
+
+ +

+Set callback to be used to report progress (check and process).

+

Parameters:
+ + + + + +
lms previously allocated Light Media Scanner instance.
cb function to call when files are processed or NULL to unset.
data data to give to cb when it's called, may be NULL.
free_data function to call to free data when lms is freed or new progress data is set.
+
+ +

Definition at line 195 of file lightmediascanner.c.

+ +

References lms::cb, lms::data, lms::free_data, and lms::progress.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.dot b/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.dot new file mode 100644 index 0000000..90db537 --- /dev/null +++ b/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parsers_list_by_category",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parsers_list",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#7e27ccbd0abfd5d112586a00fd424db9"]; +} diff --git a/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.md5 b/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.md5 new file mode 100644 index 0000000..8f2d976 --- /dev/null +++ b/www/api/lightmediascanner_8c_24f4c44982b286dc3ca451ca1acb6123_cgraph.md5 @@ -0,0 +1 @@ +6cbda567f6329b3dbe1e0ab331e3af46 \ No newline at end of file diff --git a/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.dot b/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.dot new file mode 100644 index 0000000..e12d7a4 --- /dev/null +++ b/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parser_info_find",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_info",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#0b95c1ed1a71c241bb887ee672f740d8"]; +} diff --git a/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.md5 b/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.md5 new file mode 100644 index 0000000..92e0681 --- /dev/null +++ b/www/api/lightmediascanner_8c_66457cf4ec2ef4a50bd899f99e914650_cgraph.md5 @@ -0,0 +1 @@ +f04c80800232ad6da160032dcde58bae \ No newline at end of file diff --git a/www/api/lightmediascanner_8c__incl.dot b/www/api/lightmediascanner_8c__incl.dot new file mode 100644 index 0000000..115362a --- /dev/null +++ b/www/api/lightmediascanner_8c__incl.dot @@ -0,0 +1,41 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="dlfcn.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="string.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="dirent.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="errno.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node9 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node10 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node9 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node14 [label="poll.h",height=0.2,width=0.4,color="grey75"]; + Node9 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node15 [label="limits.h",height=0.2,width=0.4,color="grey75"]; + Node9 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner_8c__incl.md5 b/www/api/lightmediascanner_8c__incl.md5 new file mode 100644 index 0000000..6ae337a --- /dev/null +++ b/www/api/lightmediascanner_8c__incl.md5 @@ -0,0 +1 @@ +fdf1ea4f9f69d259b7d76a374b82e729 \ No newline at end of file diff --git a/www/api/lightmediascanner_8h-source.html b/www/api/lightmediascanner_8h-source.html new file mode 100644 index 0000000..54ab7c7 --- /dev/null +++ b/www/api/lightmediascanner_8h-source.html @@ -0,0 +1,139 @@ + + +Light Media Scanner: src/lib/lightmediascanner.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner_8h.html b/www/api/lightmediascanner_8h.html new file mode 100644 index 0000000..0daf1d0 --- /dev/null +++ b/www/api/lightmediascanner_8h.html @@ -0,0 +1,935 @@ + + +Light Media Scanner: src/lib/lightmediascanner.h File Reference + + + + + +
+

src/lib/lightmediascanner.h File Reference

+

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_parser_info

Defines

#define _LIGHTMEDIASCANNER_H_   1
#define API
#define GNUC_NULL_TERMINATED
#define GNUC_PURE
#define GNUC_MALLOC
#define GNUC_CONST
#define GNUC_UNUSED
#define GNUC_WARN_UNUSED_RESULT
#define GNUC_NON_NULL(...)

Typedefs

typedef struct lms lms_t
typedef struct lms_plugin lms_plugin_t
typedef void(* lms_free_callback_t )(void *data)
typedef void(* lms_progress_callback_t )(lms_t *lms, const char *path, int path_len, lms_progress_status_t status, void *data)

Enumerations

enum  lms_progress_status_t {
+  LMS_PROGRESS_STATUS_UP_TO_DATE, +LMS_PROGRESS_STATUS_PROCESSED, +LMS_PROGRESS_STATUS_DELETED, +LMS_PROGRESS_STATUS_KILLED, +
+  LMS_PROGRESS_STATUS_ERROR_PARSE, +LMS_PROGRESS_STATUS_ERROR_COMM, +LMS_PROGRESS_STATUS_SKIPPED +
+ }

Functions

API lms_tlms_new (const char *db_path) GNUC_MALLOC GNUC_WARN_UNUSED_RESULT
API int lms_free (lms_t *lms) GNUC_NON_NULL(1)
API int lms_process (lms_t *lms, const char *top_path) GNUC_NON_NULL(1
API int API int lms_process_single_process (lms_t *lms, const char *top_path) GNUC_NON_NULL(1
API int API int API int lms_check (lms_t *lms, const char *top_path) GNUC_NON_NULL(1
API int API int API int API int lms_check_single_process (lms_t *lms, const char *top_path) GNUC_NON_NULL(1
API int API int API int API
+int API void 
lms_stop_processing (lms_t *lms) GNUC_NON_NULL(1)
API const char * lms_get_db_path (const lms_t *lms) GNUC_NON_NULL(1)
API int lms_is_processing (const lms_t *lms) GNUC_PURE GNUC_NON_NULL(1)
API int lms_get_slave_timeout (const lms_t *lms) GNUC_NON_NULL(1)
API void lms_set_slave_timeout (lms_t *lms, int ms) GNUC_NON_NULL(1)
API unsigned int lms_get_commit_interval (const lms_t *lms) GNUC_NON_NULL(1)
API void lms_set_commit_interval (lms_t *lms, unsigned int transactions) GNUC_NON_NULL(1)
API void lms_set_progress_callback (lms_t *lms, lms_progress_callback_t cb, const void *data, lms_free_callback_t free_data) GNUC_NON_NULL(1)
API void lms_parsers_list (int(*cb)(void *data, const char *path), const void *data)
API struct lms_parser_infolms_parser_info (const char *so_path)
API struct lms_parser_infolms_parser_info_find (const char *name)
API void lms_parser_info_free (struct lms_parser_info *info)
API void lms_parsers_list_by_category (const char *category, int(*cb)(void *data, const char *path, const struct lms_parser_info *info), const void *data)
API lms_plugin_tlms_parser_add (lms_t *lms, const char *so_path) GNUC_NON_NULL(1
API lms_plugin_t *API
+lms_plugin_t
lms_parser_find_and_add (lms_t *lms, const char *name) GNUC_NON_NULL(1
API lms_plugin_t *API
+lms_plugin_t *API int 
lms_parser_del (lms_t *lms, lms_plugin_t *handle) GNUC_NON_NULL(1
API lms_plugin_t *API
+lms_plugin_t *API int API int 
lms_charset_add (lms_t *lms, const char *charset) GNUC_NON_NULL(1
API lms_plugin_t *API
+lms_plugin_t *API int API int
+API int 
lms_charset_del (lms_t *lms, const char *charset) GNUC_NON_NULL(1
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_H_   1
+
+
+ +

+ +

Definition at line 111 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define API
+
+
+ +

+ +

Definition at line 145 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_CONST
+
+
+ +

+ +

Definition at line 149 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_MALLOC
+
+
+ +

+ +

Definition at line 148 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 152 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_NULL_TERMINATED
+
+
+ +

+ +

Definition at line 146 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_PURE
+
+
+ +

+ +

Definition at line 147 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_UNUSED
+
+
+ +

+ +

Definition at line 150 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_WARN_UNUSED_RESULT
+
+
+ +

+ +

Definition at line 151 of file lightmediascanner.h.

+ +
+

+


Typedef Documentation

+ +
+
+ + + + +
typedef void(* lms_free_callback_t)(void *data)
+
+
+ +

+ +

Definition at line 177 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
typedef struct lms_plugin lms_plugin_t
+
+
+ +

+ +

Definition at line 165 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
typedef void(* lms_progress_callback_t)(lms_t *lms, const char *path, int path_len, lms_progress_status_t status, void *data)
+
+
+ +

+ +

Definition at line 178 of file lightmediascanner.h.

+ +
+

+ +

+
+ + + + +
typedef struct lms lms_t
+
+
+ +

+ +

Definition at line 164 of file lightmediascanner.h.

+ +
+

+


Enumeration Type Documentation

+ +
+
+ + + + +
enum lms_progress_status_t
+
+
+ +

+

Enumerator:
+ + + + + + + + +
LMS_PROGRESS_STATUS_UP_TO_DATE  +
LMS_PROGRESS_STATUS_PROCESSED  +
LMS_PROGRESS_STATUS_DELETED  +
LMS_PROGRESS_STATUS_KILLED  +
LMS_PROGRESS_STATUS_ERROR_PARSE  +
LMS_PROGRESS_STATUS_ERROR_COMM  +
LMS_PROGRESS_STATUS_SKIPPED  +
+
+ +

Definition at line 167 of file lightmediascanner.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
API lms_plugin_t* API lms_plugin_t* API int API int lms_charset_add (lms_t lms,
const char *  charset 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API lms_plugin_t* API lms_plugin_t* API int API int API int lms_charset_del (lms_t lms,
const char *  charset 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int API int API int lms_check (lms_t lms,
const char *  top_path 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int API int API int API int lms_check_single_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API lms_plugin_t* lms_parser_add (lms_t lms,
const char *  so_path 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API lms_plugin_t* API lms_plugin_t* API int lms_parser_del (lms_t lms,
lms_plugin_t handle 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API lms_plugin_t* API lms_plugin_t* lms_parser_find_and_add (lms_t lms,
const char *  name 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
API struct lms_parser_info* lms_parser_info (const char *  so_path  )  [read]
+
+
+ +

+Get parser information.

+Information can be used to let user choose parsers on Graphical User Interfaces.

+

Parameters:
+ + +
so_path full path to module.
+
+
See also:
lms_parser_info_find()
+ +

Definition at line 699 of file lightmediascanner.c.

+ +

References lms_parser_info::authors, lms_plugin_info::authors, lms_parser_info::categories, lms_plugin_info::categories, lms_parser_info::description, lms_plugin_info::description, lms_parser_info::name, lms_plugin_info::name, lms_parser_info::path, lms_parser_info::uri, lms_plugin_info::uri, lms_parser_info::version, and lms_plugin_info::version.

+ +

Referenced by lms_parser_info_find().

+ +
+

+ +

+
+ + + + + + + + + +
API struct lms_parser_info* lms_parser_info_find (const char *  name  )  [read]
+
+
+ +

+Find parser by name and get its information.

+Information can be used to let user choose parsers on Graphical User Interfaces.

+

Parameters:
+ + +
name name of .so to find the whole so_path and retrieve information.
+
+
See also:
lms_parser_info()
+ +

Definition at line 824 of file lightmediascanner.c.

+ +

References lms_parser_info().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
API void lms_parser_info_free (struct lms_parser_info info  ) 
+
+
+ +

+Free previously returned information.

+

Note:
it is safe to call with NULL.
+ +

Definition at line 843 of file lightmediascanner.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API void lms_parsers_list (int(*)(void *data, const char *path)  cb,
const void *  data 
)
+
+
+ +

+List all known parsers on the system.

+No information is retrieved, you might like to call lms_parser_info() on the callback path.

+

Parameters:
+ + + +
cb function to call for each path found. If it returns 0, it stops iteraction.
data extra data to pass to cb on every call.
+
+ +

Definition at line 540 of file lightmediascanner.c.

+ +

Referenced by lms_parsers_list_by_category().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
API void lms_parsers_list_by_category (const char *  category,
int(*)(void *data, const char *path, const struct lms_parser_info *info)  cb,
const void *  data 
)
+
+
+ +

+List all known parsers of a given category.

+Since we need information to figure out parser category, these are passed as argument to callback, but you should NOT modify or reference it after callback function returns since it will be released after that.

+

Parameters:
+ + + + +
category which category to match.
cb function to call for each path found. If it returns 0, it stops iteraction.
data extra data to pass to cb on every call.
+
+ +

Definition at line 629 of file lightmediascanner.c.

+ +

References lms_parsers_list().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int lms_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API int API int lms_process_single_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
API void lms_set_progress_callback (lms_t lms,
lms_progress_callback_t  cb,
const void *  data,
lms_free_callback_t  free_data 
)
+
+
+ +

+Set callback to be used to report progress (check and process).

+

Parameters:
+ + + + + +
lms previously allocated Light Media Scanner instance.
cb function to call when files are processed or NULL to unset.
data data to give to cb when it's called, may be NULL.
free_data function to call to free data when lms is freed or new progress data is set.
+
+ +

Definition at line 195 of file lightmediascanner.c.

+ +

References lms::cb, lms::data, lms::free_data, and lms::progress.

+ +
+

+ +

+
+ + + + + + + + + +
API int API int API int API int API void lms_stop_processing (lms_t lms  ) 
+
+
+ +

+ +

Definition at line 1082 of file lightmediascanner_process.c.

+ +

References lms::is_processing, and lms::stop_processing.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.dot b/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.dot new file mode 100644 index 0000000..e12d7a4 --- /dev/null +++ b/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parser_info_find",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_info",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#0b95c1ed1a71c241bb887ee672f740d8"]; +} diff --git a/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.md5 b/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.md5 new file mode 100644 index 0000000..92e0681 --- /dev/null +++ b/www/api/lightmediascanner_8h_85b153a95dafb48c419dc1419e323567_cgraph.md5 @@ -0,0 +1 @@ +f04c80800232ad6da160032dcde58bae \ No newline at end of file diff --git a/www/api/lightmediascanner_8h__dep__incl.dot b/www/api/lightmediascanner_8h__dep__incl.dot new file mode 100644 index 0000000..2029091 --- /dev/null +++ b/www/api/lightmediascanner_8h__dep__incl.dot @@ -0,0 +1,42 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node3 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__check_8c.html"]; + Node3 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__process_8c.html"]; + Node1 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="src/lib/lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node6 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="src/lib/lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node7 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node7 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="src/lib/lightmediascanner_db_common.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html"]; + Node7 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node7 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node7 -> Node12 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; + Node7 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 -> Node13 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node13 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node12 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner_8h__dep__incl.md5 b/www/api/lightmediascanner_8h__dep__incl.md5 new file mode 100644 index 0000000..19880b7 --- /dev/null +++ b/www/api/lightmediascanner_8h__dep__incl.md5 @@ -0,0 +1 @@ +fb6bdf1e0ebe19d8d91542d2a63618f8 \ No newline at end of file diff --git a/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.dot b/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.dot new file mode 100644 index 0000000..90db537 --- /dev/null +++ b/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parsers_list_by_category",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parsers_list",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#7e27ccbd0abfd5d112586a00fd424db9"]; +} diff --git a/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.md5 b/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.md5 new file mode 100644 index 0000000..8f2d976 --- /dev/null +++ b/www/api/lightmediascanner_8h_f6dfb5e9ed76e132ee7f45e7fe26415e_cgraph.md5 @@ -0,0 +1 @@ +6cbda567f6329b3dbe1e0ab331e3af46 \ No newline at end of file diff --git a/www/api/lightmediascanner__charset__conv_8c-source.html b/www/api/lightmediascanner__charset__conv_8c-source.html new file mode 100644 index 0000000..4cbdd7a --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8c-source.html @@ -0,0 +1,390 @@ + + +Light Media Scanner: src/lib/lightmediascanner_charset_conv.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__charset__conv_8c.html b/www/api/lightmediascanner__charset__conv_8c.html new file mode 100644 index 0000000..1ae29c5 --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8c.html @@ -0,0 +1,290 @@ + + +Light Media Scanner: src/lib/lightmediascanner_charset_conv.c File Reference + + + + + +
+

src/lib/lightmediascanner_charset_conv.c File Reference

#include "lightmediascanner_charset_conv.h"
+#include <iconv.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <ctype.h>
+ +

+

+Include dependency graph for lightmediascanner_charset_conv.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + +

Functions

lms_charset_conv_tlms_charset_conv_new_full (int use_check, int use_fallback)
lms_charset_conv_tlms_charset_conv_new (void)
void lms_charset_conv_free (lms_charset_conv_t *lcc)
int lms_charset_conv_add (lms_charset_conv_t *lcc, const char *charset)
int lms_charset_conv_del (lms_charset_conv_t *lcc, const char *charset)
int lms_charset_conv (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len)
int lms_charset_conv_force (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len)
int lms_charset_conv_check (lms_charset_conv_t *lcc, const char *str, unsigned int len)
+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_charset_conv (lms_charset_conv_t lcc,
char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+If required, do charset conversion to UTF-8.

+

Parameters:
+ + + + +
lcc existing Light Media Scanner charset conversion.
p_str string to be converted.
p_len string size.
+
+
Note:
the check for string being already UTF-8 is not reliable, some cases might show false positives (UTF-16 is considered UTF-8).
+
See also:
lms_charset_conv_check()
+
Returns:
On success 0 is returned.
+ +

Definition at line 328 of file lightmediascanner_charset_conv.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_charset_conv_add (lms_charset_conv_t lcc,
const char *  charset 
)
+
+
+ +

+Register new charset to conversion tool.

+

Parameters:
+ + + +
lcc existing Light Media Scanner charset conversion.
charset charset name as understood by iconv_open(3).
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 145 of file lightmediascanner_charset_conv.c.

+ +

Referenced by lms_charset_add().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_charset_conv_check (lms_charset_conv_t lcc,
const char *  str,
unsigned int  len 
)
+
+
+ +

+Check if strings is not UTF-8 and conversion is required.

+

Parameters:
+ + + + +
lcc existing Light Media Scanner charset conversion.
str string to be analysed.
len string size.
+
+
Note:
current implementation is not reliable, it tries to convert from UTF-8 to UTF-8. Some cases, like ISO-8859-1 will work, but some like UTF-16 to UTF-8 will say it's already in the correct charset, even if it's not.
+
Returns:
0 if string is already UTF-8.
+ +

Definition at line 440 of file lightmediascanner_charset_conv.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_charset_conv_del (lms_charset_conv_t lcc,
const char *  charset 
)
+
+
+ +

+Forget about previously registered charset in conversion tool.

+

Parameters:
+ + + +
lcc existing Light Media Scanner charset conversion.
charset charset name.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 211 of file lightmediascanner_charset_conv.c.

+ +

Referenced by lms_charset_del().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_charset_conv_force (lms_charset_conv_t lcc,
char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+Forcefully do charset conversion to UTF-8.

+

Parameters:
+ + + + +
lcc existing Light Media Scanner charset conversion.
p_str string to be converted.
p_len string size.
+
+
Note:
This function does not check for the string being in UTF-8 before doing the conversion, use it if you are sure about the charset. In this case you'll usually have just one charset added.
+
Returns:
On success 0 is returned.
+ +

Definition at line 386 of file lightmediascanner_charset_conv.c.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__charset__conv_8c__incl.dot b/www/api/lightmediascanner__charset__conv_8c__incl.dot new file mode 100644 index 0000000..5141c3b --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8c__incl.dot @@ -0,0 +1,21 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_charset_conv.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="iconv.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="string.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="errno.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__charset__conv_8c__incl.md5 b/www/api/lightmediascanner__charset__conv_8c__incl.md5 new file mode 100644 index 0000000..1f710f1 --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8c__incl.md5 @@ -0,0 +1 @@ +42e4a30fd4890b6609d2b4c1f4c3171a \ No newline at end of file diff --git a/www/api/lightmediascanner__charset__conv_8h-source.html b/www/api/lightmediascanner__charset__conv_8h-source.html new file mode 100644 index 0000000..7290d60 --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8h-source.html @@ -0,0 +1,90 @@ + + +Light Media Scanner: src/lib/lightmediascanner_charset_conv.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__charset__conv_8h.html b/www/api/lightmediascanner__charset__conv_8h.html new file mode 100644 index 0000000..222c33c --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8h.html @@ -0,0 +1,169 @@ + + +Light Media Scanner: src/lib/lightmediascanner_charset_conv.h File Reference + + + + + +
+

src/lib/lightmediascanner_charset_conv.h File Reference

+

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define _LIGHTMEDIASCANNER_CHARSET_CONV_H_   1
#define GNUC_MALLOC
#define GNUC_WARN_UNUSED_RESULT
#define GNUC_NON_NULL(...)
#define API

Typedefs

typedef struct lms_charset_conv lms_charset_conv_t

Functions

API lms_charset_conv_tlms_charset_conv_new_full (int use_check, int use_fallback) GNUC_MALLOC GNUC_WARN_UNUSED_RESULT
API lms_charset_conv_tlms_charset_conv_new (void) GNUC_MALLOC GNUC_WARN_UNUSED_RESULT
API void lms_charset_conv_free (lms_charset_conv_t *lcc) GNUC_NON_NULL(1)
API int lms_charset_conv_add (lms_charset_conv_t *lcc, const char *charset) GNUC_NON_NULL(1
API int API int lms_charset_conv_del (lms_charset_conv_t *lcc, const char *charset) GNUC_NON_NULL(1
API int API int API int lms_charset_conv (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len) GNUC_NON_NULL(1
API int API int API int API int lms_charset_conv_force (lms_charset_conv_t *lcc, char **p_str, unsigned int *p_len) GNUC_NON_NULL(1
API int API int API int API
+int API int 
lms_charset_conv_check (lms_charset_conv_t *lcc, const char *str, unsigned int len) GNUC_NON_NULL(1
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_CHARSET_CONV_H_   1
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 22 of file lightmediascanner_charset_conv.h.

+ +
+

+ +

+
+ + + + +
#define API
+
+
+ +

+ +

Definition at line 59 of file lightmediascanner_charset_conv.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_MALLOC
+
+
+ +

+ +

Definition at line 56 of file lightmediascanner_charset_conv.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 58 of file lightmediascanner_charset_conv.h.

+ +
+

+ +

+
+ + + + +
#define GNUC_WARN_UNUSED_RESULT
+
+
+ +

+ +

Definition at line 57 of file lightmediascanner_charset_conv.h.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__charset__conv_8h__dep__incl.dot b/www/api/lightmediascanner__charset__conv_8h__dep__incl.dot new file mode 100644 index 0000000..d9fd6de --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8h__dep__incl.dot @@ -0,0 +1,41 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node3 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html"]; + Node3 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__check_8c.html"]; + Node3 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__process_8c.html"]; + Node2 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="src/lib/lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node7 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node7 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="src/lib/lightmediascanner_db_common.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html"]; + Node7 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node7 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node7 -> Node12 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; + Node7 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 -> Node13 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node13 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node12 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node14 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node14 [label="src/lib/lightmediascanner_charset_conv.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8c.html"]; +} diff --git a/www/api/lightmediascanner__charset__conv_8h__dep__incl.md5 b/www/api/lightmediascanner__charset__conv_8h__dep__incl.md5 new file mode 100644 index 0000000..225c894 --- /dev/null +++ b/www/api/lightmediascanner__charset__conv_8h__dep__incl.md5 @@ -0,0 +1 @@ +a8d763a8ab47ffcb4f3327d64ff7c79d \ No newline at end of file diff --git a/www/api/lightmediascanner__check_8c-source.html b/www/api/lightmediascanner__check_8c-source.html new file mode 100644 index 0000000..0a42784 --- /dev/null +++ b/www/api/lightmediascanner__check_8c-source.html @@ -0,0 +1,958 @@ + + +Light Media Scanner: src/lib/lightmediascanner_check.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__check_8c.html b/www/api/lightmediascanner__check_8c.html new file mode 100644 index 0000000..3ca2cad --- /dev/null +++ b/www/api/lightmediascanner__check_8c.html @@ -0,0 +1,194 @@ + + +Light Media Scanner: src/lib/lightmediascanner_check.c File Reference + + + + + +
+

src/lib/lightmediascanner_check.c File Reference

#include <sys/wait.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <dirent.h>
+#include <signal.h>
+#include <time.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "lightmediascanner.h"
+#include "lightmediascanner_private.h"
+#include "lightmediascanner_db_private.h"
+ +

+

+Include dependency graph for lightmediascanner_check.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + +

Defines

#define _GNU_SOURCE
#define COMM_FINFO_FLAG_OUTDATED   1

Functions

int lms_check (lms_t *lms, const char *top_path)
int lms_check_single_process (lms_t *lms, const char *top_path)
+


Define Documentation

+ +
+
+ + + + +
#define _GNU_SOURCE
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 25 of file lightmediascanner_check.c.

+ +
+

+ +

+
+ + + + +
#define COMM_FINFO_FLAG_OUTDATED   1
+
+
+ +

+ +

Definition at line 75 of file lightmediascanner_check.c.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_check (lms_t lms,
const char *  top_path 
)
+
+
+ +

+Check consistency of given directory.

+This will update media in the given directory or its children. If files are missing, they'll be marked as deleted (dtime is set), if they were marked as deleted and are now present, they are unmarked (dtime is unset).

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
top_path top directory to scan.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 900 of file lightmediascanner_check.c.

+ +

References pinfo::common, lms::is_processing, cinfo::lms, lms_close_pipes(), lms_create_pipes(), PATH_SIZE, and lms::stop_processing.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_check_single_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+Check consistency of given directory *without fork()-ing* into child process.

+This will update media in the given directory or its children. If files are missing, they'll be marked as deleted (dtime is set), if they were marked as deleted and are now present, they are unmarked (dtime is unset). Note that if a parser hangs in the check process, this call will also hang.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
top_path top directory to scan.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 949 of file lightmediascanner_check.c.

+ +

References sinfo::commit_counter, sinfo::common, lms::is_processing, cinfo::lms, PATH_SIZE, and lms::stop_processing.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.dot b/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.dot new file mode 100644 index 0000000..3a0dc64 --- /dev/null +++ b/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_check",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_close_pipes",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#8c1aa0a9d9bb796db279caeb97e04eed"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_create_pipes",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#a5952b7aae2fa795396a5a286c2ee4a4"]; +} diff --git a/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.md5 b/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.md5 new file mode 100644 index 0000000..d1a430a --- /dev/null +++ b/www/api/lightmediascanner__check_8c_859492d896e816498edb471315efced1_cgraph.md5 @@ -0,0 +1 @@ +e5d6266cac6f4e806beb307fbceec1fc \ No newline at end of file diff --git a/www/api/lightmediascanner__check_8c__incl.dot b/www/api/lightmediascanner__check_8c__incl.dot new file mode 100644 index 0000000..199c637 --- /dev/null +++ b/www/api/lightmediascanner__check_8c__incl.dot @@ -0,0 +1,51 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sys/wait.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sys/stat.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="dirent.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="signal.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="time.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="string.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node1 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node12 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node13 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node14 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node13 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node15 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node13 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node16 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node12 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node17 [label="poll.h",height=0.2,width=0.4,color="grey75"]; + Node12 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node18 [label="limits.h",height=0.2,width=0.4,color="grey75"]; + Node12 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node19 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node19 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node19 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node19 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__check_8c__incl.md5 b/www/api/lightmediascanner__check_8c__incl.md5 new file mode 100644 index 0000000..4730582 --- /dev/null +++ b/www/api/lightmediascanner__check_8c__incl.md5 @@ -0,0 +1 @@ +8b0dfa63d4ad79d27139cf1f8d53814c \ No newline at end of file diff --git a/www/api/lightmediascanner__db_8h-source.html b/www/api/lightmediascanner__db_8h-source.html new file mode 100644 index 0000000..347cc5e --- /dev/null +++ b/www/api/lightmediascanner__db_8h-source.html @@ -0,0 +1,135 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db_8h.html b/www/api/lightmediascanner__db_8h.html new file mode 100644 index 0000000..37681cd --- /dev/null +++ b/www/api/lightmediascanner__db_8h.html @@ -0,0 +1,171 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db.h File Reference + + + + + +
+

src/lib/lightmediascanner_db.h File Reference

#include <lightmediascanner_plugin.h>
+#include <lightmediascanner_utils.h>
+ +

+

+Include dependency graph for lightmediascanner_db.h:
+
+
+ +

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_gps_info
struct  lms_image_info
struct  lms_audio_info
struct  lms_video_info
struct  lms_playlist_info

Defines

#define _LIGHTMEDIASCANNER_DB_H_   1
#define API
#define GNUC_NON_NULL(...)

Typedefs

typedef struct lms_db_image lms_db_image_t
typedef struct lms_db_audio lms_db_audio_t
typedef struct lms_db_video lms_db_video_t
typedef struct lms_db_playlist lms_db_playlist_t

Functions

API lms_db_image_tlms_db_image_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_image_start (lms_db_image_t *ldi) GNUC_NON_NULL(1)
API int lms_db_image_free (lms_db_image_t *ldi) GNUC_NON_NULL(1)
API int lms_db_image_add (lms_db_image_t *ldi, struct lms_image_info *info) GNUC_NON_NULL(1
API lms_db_audio_tlms_db_audio_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_audio_start (lms_db_audio_t *lda) GNUC_NON_NULL(1)
API int lms_db_audio_free (lms_db_audio_t *lda) GNUC_NON_NULL(1)
API int lms_db_audio_add (lms_db_audio_t *lda, struct lms_audio_info *info) GNUC_NON_NULL(1
API lms_db_video_tlms_db_video_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_video_start (lms_db_video_t *ldv) GNUC_NON_NULL(1)
API int lms_db_video_free (lms_db_video_t *ldv) GNUC_NON_NULL(1)
API int lms_db_video_add (lms_db_video_t *ldv, struct lms_video_info *info) GNUC_NON_NULL(1
API lms_db_playlist_tlms_db_playlist_new (sqlite3 *db) GNUC_NON_NULL(1)
API int lms_db_playlist_start (lms_db_playlist_t *ldp) GNUC_NON_NULL(1)
API int lms_db_playlist_free (lms_db_playlist_t *ldp) GNUC_NON_NULL(1)
API int lms_db_playlist_add (lms_db_playlist_t *ldp, struct lms_playlist_info *info) GNUC_NON_NULL(1
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_DB_H_   1
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 22 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
#define API
+
+
+ +

+ +

Definition at line 40 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 41 of file lightmediascanner_db.h.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db_8h__dep__incl.dot b/www/api/lightmediascanner__db_8h__dep__incl.dot new file mode 100644 index 0000000..208a72a --- /dev/null +++ b/www/api/lightmediascanner__db_8h__dep__incl.dot @@ -0,0 +1,15 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node1 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; +} diff --git a/www/api/lightmediascanner__db_8h__dep__incl.md5 b/www/api/lightmediascanner__db_8h__dep__incl.md5 new file mode 100644 index 0000000..7e290b3 --- /dev/null +++ b/www/api/lightmediascanner__db_8h__dep__incl.md5 @@ -0,0 +1 @@ +edb1284dadd24ad1ebf770b69c32f41b \ No newline at end of file diff --git a/www/api/lightmediascanner__db_8h__incl.dot b/www/api/lightmediascanner__db_8h__incl.dot new file mode 100644 index 0000000..998291b --- /dev/null +++ b/www/api/lightmediascanner__db_8h__incl.dot @@ -0,0 +1,19 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; +} diff --git a/www/api/lightmediascanner__db_8h__incl.md5 b/www/api/lightmediascanner__db_8h__incl.md5 new file mode 100644 index 0000000..bf2a02a --- /dev/null +++ b/www/api/lightmediascanner__db_8h__incl.md5 @@ -0,0 +1 @@ +168ff3253177e1eea055d0b7bdf588cf \ No newline at end of file diff --git a/www/api/lightmediascanner__db__audio_8c-source.html b/www/api/lightmediascanner__db__audio_8c-source.html new file mode 100644 index 0000000..14d0663 --- /dev/null +++ b/www/api/lightmediascanner__db__audio_8c-source.html @@ -0,0 +1,683 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_audio.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__audio_8c.html b/www/api/lightmediascanner__db__audio_8c.html new file mode 100644 index 0000000..99a12d7 --- /dev/null +++ b/www/api/lightmediascanner__db__audio_8c.html @@ -0,0 +1,129 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_audio.c File Reference + + + + + +
+

src/lib/lightmediascanner_db_audio.c File Reference

#include <lightmediascanner_db.h>
+#include "lightmediascanner_db_private.h"
+#include <stdlib.h>
+#include <stdio.h>
+ +

+

+Include dependency graph for lightmediascanner_db_audio.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + +

Defines

#define _DB_T_UPDATE(db, name, array)   lms_db_table_update_if_required(db, name, LMS_ARRAY_SIZE(array), array)

Functions

lms_db_audio_tlms_db_audio_new (sqlite3 *db)
int lms_db_audio_start (lms_db_audio_t *lda)
int lms_db_audio_free (lms_db_audio_t *lda)
int lms_db_audio_add (lms_db_audio_t *lda, struct lms_audio_info *info)
+


Define Documentation

+ +
+
+ + + + + + + + + + + + + + + +
#define _DB_T_UPDATE (db,
name,
array   )    lms_db_table_update_if_required(db, name, LMS_ARRAY_SIZE(array), array)
+
+
+ +

+ +

Definition at line 254 of file lightmediascanner_db_audio.c.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_db_audio_add (lms_db_audio_t lda,
struct lms_audio_info info 
)
+
+
+ +

+Add audio file to DB.

+This is usually called from plugin's parse() callback.

+

Parameters:
+ + + +
lda handle returned by lms_db_audio_new().
info audio information to store.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 694 of file lightmediascanner_db_audio.c.

+ +

References lms_audio_info::id.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__audio_8c__incl.dot b/www/api/lightmediascanner__db__audio_8c__incl.dot new file mode 100644 index 0000000..3932dac --- /dev/null +++ b/www/api/lightmediascanner__db__audio_8c__incl.dot @@ -0,0 +1,30 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__db__audio_8c__incl.md5 b/www/api/lightmediascanner__db__audio_8c__incl.md5 new file mode 100644 index 0000000..461a0e4 --- /dev/null +++ b/www/api/lightmediascanner__db__audio_8c__incl.md5 @@ -0,0 +1 @@ +99726fe86b247bafa6516dcbb4cfbf1f \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c-source.html b/www/api/lightmediascanner__db__common_8c-source.html new file mode 100644 index 0000000..a1b0f48 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c-source.html @@ -0,0 +1,798 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_common.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__common_8c.html b/www/api/lightmediascanner__db__common_8c.html new file mode 100644 index 0000000..48e8cb0 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c.html @@ -0,0 +1,1449 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_common.c File Reference + + + + + +
+

src/lib/lightmediascanner_db_common.c File Reference

#include "lightmediascanner_db_private.h"
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+ +

+

+Include dependency graph for lightmediascanner_db_common.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

int sqlite3_prepare_v2 (sqlite3 *db, const char *sql, int len, sqlite3_stmt **stmt, const char **tail)
int sqlite3_clear_bindings (sqlite3_stmt *stmt)
int lms_db_create_trigger_if_not_exists (sqlite3 *db, const char *sql)
sqlite3_stmt * lms_db_compile_stmt (sqlite3 *db, const char *sql)
int lms_db_finalize_stmt (sqlite3_stmt *stmt, const char *name)
int lms_db_reset_stmt (sqlite3_stmt *stmt)
int lms_db_bind_text (sqlite3_stmt *stmt, int col, const char *text, int len)
int lms_db_bind_blob (sqlite3_stmt *stmt, int col, const void *blob, int len)
int lms_db_bind_int64 (sqlite3_stmt *stmt, int col, int64_t value)
int lms_db_bind_int64_or_null (sqlite3_stmt *stmt, int col, int64_t *p_value)
int lms_db_bind_int (sqlite3_stmt *stmt, int col, int value)
int lms_db_bind_double (sqlite3_stmt *stmt, int col, double value)
int lms_db_table_version_get (sqlite3 *db, const char *table)
int lms_db_table_version_set (sqlite3 *db, const char *table, unsigned int version)
int lms_db_table_update (sqlite3 *db, const char *table, unsigned int current_version, unsigned int last_version, const lms_db_table_updater_t *updaters)
int lms_db_table_update_if_required (sqlite3 *db, const char *table, unsigned int last_version, lms_db_table_updater_t *updaters)
int lms_db_cache_add (struct lms_db_cache *cache, const sqlite3 *db, void *data)
int lms_db_cache_del (struct lms_db_cache *cache, const sqlite3 *db, void *data)
int lms_db_cache_get (struct lms_db_cache *cache, const sqlite3 *db, void **pdata)
int lms_db_create_core_tables_if_required (sqlite3 *db)
sqlite3_stmt * lms_db_compile_stmt_begin_transaction (sqlite3 *db)
int lms_db_begin_transaction (sqlite3_stmt *stmt)
sqlite3_stmt * lms_db_compile_stmt_end_transaction (sqlite3 *db)
int lms_db_end_transaction (sqlite3_stmt *stmt)
sqlite3_stmt * lms_db_compile_stmt_get_file_info (sqlite3 *db)
int lms_db_get_file_info (sqlite3_stmt *stmt, struct lms_file_info *finfo)
sqlite3_stmt * lms_db_compile_stmt_update_file_info (sqlite3 *db)
int lms_db_update_file_info (sqlite3_stmt *stmt, const struct lms_file_info *finfo)
sqlite3_stmt * lms_db_compile_stmt_insert_file_info (sqlite3 *db)
int lms_db_insert_file_info (sqlite3_stmt *stmt, struct lms_file_info *finfo)
sqlite3_stmt * lms_db_compile_stmt_delete_file_info (sqlite3 *db)
int lms_db_delete_file_info (sqlite3_stmt *stmt, const struct lms_file_info *finfo)
sqlite3_stmt * lms_db_compile_stmt_set_file_dtime (sqlite3 *db)
int lms_db_set_file_dtime (sqlite3_stmt *stmt, const struct lms_file_info *finfo)
sqlite3_stmt * lms_db_compile_stmt_get_files (sqlite3 *db)
int lms_db_get_files (sqlite3_stmt *stmt, const char *path, int len)
+


Function Documentation

+ +
+
+ + + + + + + + + +
int lms_db_begin_transaction (sqlite3_stmt *  stmt  ) 
+
+
+ +

+ +

Definition at line 532 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_blob (sqlite3_stmt *  stmt,
int  col,
const void *  blob,
int  len 
)
+
+
+ +

+ +

Definition at line 168 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_get_file_info(), lms_db_get_files(), and lms_db_insert_file_info().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_double (sqlite3_stmt *  stmt,
int  col,
double  value 
)
+
+
+ +

+ +

Definition at line 251 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int (sqlite3_stmt *  stmt,
int  col,
int  value 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int64 (sqlite3_stmt *  stmt,
int  col,
int64_t  value 
)
+
+
+ +

+ +

Definition at line 191 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_delete_file_info(), and lms_db_set_file_dtime().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int64_or_null (sqlite3_stmt *  stmt,
int  col,
int64_t *  p_value 
)
+
+
+ +

+ +

Definition at line 210 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_text (sqlite3_stmt *  stmt,
int  col,
const char *  text,
int  len 
)
+
+
+ +

+ +

Definition at line 145 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_table_version_get(), and lms_db_table_version_set().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_cache_add (struct lms_db_cache cache,
const sqlite3 *  db,
void *  data 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_cache_del (struct lms_db_cache cache,
const sqlite3 *  db,
void *  data 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_cache_get (struct lms_db_cache cache,
const sqlite3 *  db,
void **  pdata 
)
+
+ +

+ +

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_begin_transaction (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 526 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_delete_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 711 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_end_transaction (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 553 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_get_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 580 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_get_files (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 776 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_insert_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 666 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_set_file_dtime (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 741 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_update_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 622 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
int lms_db_create_core_tables_if_required (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 475 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_create_trigger_if_not_exists (sqlite3 *  db,
const char *  sql 
)
+
+
+ +

+ +

Definition at line 55 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_delete_file_info (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

Definition at line 717 of file lightmediascanner_db_common.c.

+ +

References lms_file_info::id, lms_db_bind_int64(), and lms_db_reset_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
int lms_db_end_transaction (sqlite3_stmt *  stmt  ) 
+
+
+ +

+ +

Definition at line 559 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_finalize_stmt (sqlite3_stmt *  stmt,
const char *  name 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_get_file_info (sqlite3_stmt *  stmt,
struct lms_file_info finfo 
)
+
+
+ +

+ +

Definition at line 587 of file lightmediascanner_db_common.c.

+ +

References lms_file_info::dtime, lms_file_info::id, lms_db_bind_blob(), lms_db_reset_stmt(), lms_file_info::mtime, lms_file_info::path, lms_file_info::path_len, and lms_file_info::size.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_get_files (sqlite3_stmt *  stmt,
const char *  path,
int  len 
)
+
+
+ +

+ +

Definition at line 783 of file lightmediascanner_db_common.c.

+ +

References lms_db_bind_blob().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_insert_file_info (sqlite3_stmt *  stmt,
struct lms_file_info finfo 
)
+
+ +

+ +

+
+ + + + + + + + + +
int lms_db_reset_stmt (sqlite3_stmt *  stmt  ) 
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_set_file_dtime (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

Definition at line 747 of file lightmediascanner_db_common.c.

+ +

References lms_file_info::dtime, lms_file_info::id, lms_db_bind_int(), lms_db_bind_int64(), and lms_db_reset_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_table_update (sqlite3 *  db,
const char *  table,
unsigned int  current_version,
unsigned int  last_version,
const lms_db_table_updater_t updaters 
)
+
+
+ +

+ +

Definition at line 337 of file lightmediascanner_db_common.c.

+ +

References lms_db_table_version_set().

+ +

Referenced by lms_db_table_update_if_required().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_table_update_if_required (sqlite3 *  db,
const char *  table,
unsigned int  last_version,
lms_db_table_updater_t updaters 
)
+
+
+ +

+ +

Definition at line 367 of file lightmediascanner_db_common.c.

+ +

References lms_db_table_update(), and lms_db_table_version_get().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_table_version_get (sqlite3 *  db,
const char *  table 
)
+
+
+ +

+ +

Definition at line 270 of file lightmediascanner_db_common.c.

+ +

References lms_db_bind_text(), lms_db_compile_stmt(), lms_db_finalize_stmt(), and lms_db_reset_stmt().

+ +

Referenced by lms_db_table_update_if_required().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_table_version_set (sqlite3 *  db,
const char *  table,
unsigned int  version 
)
+
+
+ +

+ +

Definition at line 304 of file lightmediascanner_db_common.c.

+ +

References lms_db_bind_int(), lms_db_bind_text(), lms_db_compile_stmt(), lms_db_finalize_stmt(), and lms_db_reset_stmt().

+ +

Referenced by lms_db_table_update().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_update_file_info (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

Definition at line 629 of file lightmediascanner_db_common.c.

+ +

References lms_file_info::dtime, lms_file_info::id, lms_db_bind_int(), lms_db_reset_stmt(), lms_file_info::mtime, and lms_file_info::size.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
int sqlite3_clear_bindings (sqlite3_stmt *  stmt  ) 
+
+
+ +

+ +

Definition at line 36 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_reset_stmt().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int sqlite3_prepare_v2 (sqlite3 *  db,
const char *  sql,
int  len,
sqlite3_stmt **  stmt,
const char **  tail 
)
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 28 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_compile_stmt().

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.dot b/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.dot new file mode 100644 index 0000000..15557d0 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.dot @@ -0,0 +1,16 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_set_file_dtime",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_bind_int64",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#f2fe78bc45dc33d843313a846db5ce7c"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.md5 new file mode 100644 index 0000000..560cf70 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_024e3bd9385fd740f75618716c90b04f_cgraph.md5 @@ -0,0 +1 @@ +95892a1d8fb1e89fb1d982f7f74da232 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.dot b/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.dot new file mode 100644 index 0000000..72f0034 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.dot @@ -0,0 +1,14 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_update_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.md5 new file mode 100644 index 0000000..f851528 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_0f727cd41bbb90af2e08b3ee7ca76de9_cgraph.md5 @@ -0,0 +1 @@ +182d5b4e72286a72c1d78b5f3b5ecffd \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.dot b/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.dot new file mode 100644 index 0000000..7df1b94 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_begin_transaction",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.md5 new file mode 100644 index 0000000..cf668af --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1787fdaf148358c7a518e91dfd871ca1_cgraph.md5 @@ -0,0 +1 @@ +13e738f4464a76bd8c9e28877a6e1e3c \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.dot b/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.dot new file mode 100644 index 0000000..0680393 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_set_file_dtime",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.md5 new file mode 100644 index 0000000..fedc6c8 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1b6950ca9e548670a4cb7fd0ec5220a8_cgraph.md5 @@ -0,0 +1 @@ +b0290321179ccfdf6b868a1401368d8d \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.dot b/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.dot new file mode 100644 index 0000000..06793b5 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_update_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.md5 new file mode 100644 index 0000000..8f21f90 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_1e6e76cfa9d6faa3c3b8035004eff1a0_cgraph.md5 @@ -0,0 +1 @@ +6d39a7d391eabe504c0839a7bef2900c \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.dot b/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.dot new file mode 100644 index 0000000..351b74b --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.md5 new file mode 100644 index 0000000..5e3f228 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_226c6f7ab2e7923b747b7090357ea419_cgraph.md5 @@ -0,0 +1 @@ +62f0680e416b51bf8b87f43cae646e3a \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.dot b/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.dot new file mode 100644 index 0000000..e655d36 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.dot @@ -0,0 +1,22 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_table_version_set",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_bind_text",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#88c461ae88da3eb47987c5a0b15c5888"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node7 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.md5 new file mode 100644 index 0000000..d8fb9d8 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_46e6e318ea9bb4a7ffdfe40c842da4e7_cgraph.md5 @@ -0,0 +1 @@ +6782cd3f8c47ab0324aae402f15cc92e \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.dot b/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.dot new file mode 100644 index 0000000..cbc9539 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_delete_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.md5 new file mode 100644 index 0000000..f10c3f1 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_559925f8e4d5bf61d1bcf44844a95699_cgraph.md5 @@ -0,0 +1 @@ +828ab82b5d7649c83e6458a1e260c2a8 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.dot b/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.dot new file mode 100644 index 0000000..d8f3ab3 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.md5 new file mode 100644 index 0000000..cb8fb38 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_5fddf47521f83929b0c90a481fa01c5b_cgraph.md5 @@ -0,0 +1 @@ +f1e39ac10262ba4204b000fbfd7c86af \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.dot b/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.dot new file mode 100644 index 0000000..be42de1 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_get_files",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.md5 new file mode 100644 index 0000000..90eeb5f --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_73ae2cfd7babf80294cf31f02906223b_cgraph.md5 @@ -0,0 +1 @@ +80941c09f55fa7c9f4866a3116b5da2b \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.dot b/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.dot new file mode 100644 index 0000000..7e9a458 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.dot @@ -0,0 +1,32 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_table_update_if_required",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_table_update",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#9bca88ae79959baff3accee8ce10b558"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_table_version_set",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#46e6e318ea9bb4a7ffdfe40c842da4e7"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_bind_text",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#88c461ae88da3eb47987c5a0b15c5888"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node6 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; + Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; + Node3 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node9 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="lms_db_table_version_get",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#eba3215ee5981a73e9d0fed0a7e079cd"]; + Node11 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.md5 new file mode 100644 index 0000000..ef8bd0d --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_86b766535f9dc7895da7d0f606201700_cgraph.md5 @@ -0,0 +1 @@ +a127017f0d3d7ac779c410c933d392d7 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.dot b/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.dot new file mode 100644 index 0000000..e462eba --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_insert_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.md5 new file mode 100644 index 0000000..33febad --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_9a5886e755eb428ac811956144eee0dc_cgraph.md5 @@ -0,0 +1 @@ +a16e0583ca842d2f781066f594511cbd \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.dot b/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.dot new file mode 100644 index 0000000..9cbcb6f --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.dot @@ -0,0 +1,24 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_table_update",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_table_version_set",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#46e6e318ea9bb4a7ffdfe40c842da4e7"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_bind_text",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#88c461ae88da3eb47987c5a0b15c5888"]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node5 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node8 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.md5 new file mode 100644 index 0000000..56587c4 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_9bca88ae79959baff3accee8ce10b558_cgraph.md5 @@ -0,0 +1 @@ +3c1164fabd6ff495b98087cb95b52dfd \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c__incl.dot b/www/api/lightmediascanner__db__common_8c__incl.dot new file mode 100644 index 0000000..b53b0de --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c__incl.dot @@ -0,0 +1,27 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_common.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node5 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node5 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node5 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="string.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__db__common_8c__incl.md5 b/www/api/lightmediascanner__db__common_8c__incl.md5 new file mode 100644 index 0000000..c0118a5 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c__incl.md5 @@ -0,0 +1 @@ +fefc1430ffcf4f13ec4b2d5aa46db105 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.dot b/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.dot new file mode 100644 index 0000000..2771c4c --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_get_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.md5 new file mode 100644 index 0000000..77f12b4 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_b00a624bc01da9b796f7bc6e1d507cf8_cgraph.md5 @@ -0,0 +1 @@ +30a178024a3fa9cb54b3263f2f21a170 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.dot b/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.dot new file mode 100644 index 0000000..ea85c40 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.dot @@ -0,0 +1,14 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_delete_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_int64",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#f2fe78bc45dc33d843313a846db5ce7c"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.md5 new file mode 100644 index 0000000..1bbe888 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_bb2a9cdbbc7680d1ec85ef3f086b3f63_cgraph.md5 @@ -0,0 +1 @@ +9269e3df30750ad4bb35aa819bd284d2 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.dot b/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.dot new file mode 100644 index 0000000..b64fcc8 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_end_transaction",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.md5 new file mode 100644 index 0000000..b1b801b --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_bff1aa6077215f3d70d4d5b1a9b7a498_cgraph.md5 @@ -0,0 +1 @@ +acd0d2b716dec99598ca58c2c146c8bf \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.dot b/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.dot new file mode 100644 index 0000000..0d9c316 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.dot @@ -0,0 +1,14 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_get_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_blob",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#fee26461dbd6c89c82794c94aaeeaef6"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.md5 new file mode 100644 index 0000000..46258a5 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_c0b7cf0b2eb0f55fbf8a4103bc9569d1_cgraph.md5 @@ -0,0 +1 @@ +abbd954359928e3ef6a5b53fc9ca0c60 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.dot b/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.dot new file mode 100644 index 0000000..206202c --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_get_files",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_blob",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#fee26461dbd6c89c82794c94aaeeaef6"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.md5 new file mode 100644 index 0000000..13b610f --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_df572e74e0821a66ebd16f575b4fb7c4_cgraph.md5 @@ -0,0 +1 @@ +0ca971b6bc4fe5459c1131cc08a8ea24 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.dot b/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.dot new file mode 100644 index 0000000..0e15fd8 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.dot @@ -0,0 +1,16 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_insert_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_blob",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#fee26461dbd6c89c82794c94aaeeaef6"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_bind_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#de261036cf3228f0b6a79a9c68687c4f"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.md5 new file mode 100644 index 0000000..f18b27b --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_e529ad5c4478d53685c65ec69dc5b1f4_cgraph.md5 @@ -0,0 +1 @@ +b56933dddbd09826d9bbb6fe583a44af \ No newline at end of file diff --git a/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.dot b/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.dot new file mode 100644 index 0000000..ecf4a5c --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.dot @@ -0,0 +1,20 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_table_version_get",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_bind_text",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#88c461ae88da3eb47987c5a0b15c5888"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_db_finalize_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#32110a4825e598ca6df329f55b0b62b5"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#226c6f7ab2e7923b747b7090357ea419"]; + Node6 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.md5 b/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.md5 new file mode 100644 index 0000000..c13dfe5 --- /dev/null +++ b/www/api/lightmediascanner__db__common_8c_eba3215ee5981a73e9d0fed0a7e079cd_cgraph.md5 @@ -0,0 +1 @@ +4242509a112bf7b4df9b15d6abf53124 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__image_8c-source.html b/www/api/lightmediascanner__db__image_8c-source.html new file mode 100644 index 0000000..6ce0fd0 --- /dev/null +++ b/www/api/lightmediascanner__db__image_8c-source.html @@ -0,0 +1,263 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_image.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__image_8c.html b/www/api/lightmediascanner__db__image_8c.html new file mode 100644 index 0000000..60853af --- /dev/null +++ b/www/api/lightmediascanner__db__image_8c.html @@ -0,0 +1,97 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_image.c File Reference + + + + + +
+

src/lib/lightmediascanner_db_image.c File Reference

#include <lightmediascanner_db.h>
+#include "lightmediascanner_db_private.h"
+#include <stdlib.h>
+#include <stdio.h>
+ +

+

+Include dependency graph for lightmediascanner_db_image.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + +

Functions

lms_db_image_tlms_db_image_new (sqlite3 *db)
int lms_db_image_start (lms_db_image_t *ldi)
int lms_db_image_free (lms_db_image_t *ldi)
int lms_db_image_add (lms_db_image_t *ldi, struct lms_image_info *info)
+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_db_image_add (lms_db_image_t ldi,
struct lms_image_info info 
)
+
+
+ +

+Add image file to DB.

+This is usually called from plugin's parse() callback.

+

Parameters:
+ + + +
ldi handle returned by lms_db_image_new().
info image information to store.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 293 of file lightmediascanner_db_image.c.

+ +

References lms_image_info::id.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__image_8c__incl.dot b/www/api/lightmediascanner__db__image_8c__incl.dot new file mode 100644 index 0000000..b3b9adb --- /dev/null +++ b/www/api/lightmediascanner__db__image_8c__incl.dot @@ -0,0 +1,30 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__db__image_8c__incl.md5 b/www/api/lightmediascanner__db__image_8c__incl.md5 new file mode 100644 index 0000000..b97077e --- /dev/null +++ b/www/api/lightmediascanner__db__image_8c__incl.md5 @@ -0,0 +1 @@ +0604db1ab18bf73d3cb9e5f77b9d86e4 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__playlist_8c-source.html b/www/api/lightmediascanner__db__playlist_8c-source.html new file mode 100644 index 0000000..19d4d05 --- /dev/null +++ b/www/api/lightmediascanner__db__playlist_8c-source.html @@ -0,0 +1,227 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_playlist.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__playlist_8c.html b/www/api/lightmediascanner__db__playlist_8c.html new file mode 100644 index 0000000..9ce4293 --- /dev/null +++ b/www/api/lightmediascanner__db__playlist_8c.html @@ -0,0 +1,97 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_playlist.c File Reference + + + + + +
+

src/lib/lightmediascanner_db_playlist.c File Reference

#include <lightmediascanner_db.h>
+#include "lightmediascanner_db_private.h"
+#include <stdlib.h>
+#include <stdio.h>
+ +

+

+Include dependency graph for lightmediascanner_db_playlist.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + +

Functions

lms_db_playlist_tlms_db_playlist_new (sqlite3 *db)
int lms_db_playlist_start (lms_db_playlist_t *ldp)
int lms_db_playlist_free (lms_db_playlist_t *ldp)
int lms_db_playlist_add (lms_db_playlist_t *ldp, struct lms_playlist_info *info)
+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_db_playlist_add (lms_db_playlist_t ldp,
struct lms_playlist_info info 
)
+
+
+ +

+Add playlist file to DB.

+This is usually called from plugin's parse() callback.

+

Parameters:
+ + + +
ldp handle returned by lms_db_playlist_new().
info playlist information to store.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 257 of file lightmediascanner_db_playlist.c.

+ +

References lms_playlist_info::id.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__playlist_8c__incl.dot b/www/api/lightmediascanner__db__playlist_8c__incl.dot new file mode 100644 index 0000000..2067d44 --- /dev/null +++ b/www/api/lightmediascanner__db__playlist_8c__incl.dot @@ -0,0 +1,30 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__db__playlist_8c__incl.md5 b/www/api/lightmediascanner__db__playlist_8c__incl.md5 new file mode 100644 index 0000000..37f5c6f --- /dev/null +++ b/www/api/lightmediascanner__db__playlist_8c__incl.md5 @@ -0,0 +1 @@ +a2f67a407b791f01ad94c4d48390ffb6 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h-source.html b/www/api/lightmediascanner__db__private_8h-source.html new file mode 100644 index 0000000..8b20702 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h-source.html @@ -0,0 +1,102 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_private.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__private_8h.html b/www/api/lightmediascanner__db__private_8h.html new file mode 100644 index 0000000..967677d --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h.html @@ -0,0 +1,1302 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_private.h File Reference + + + + + +
+

src/lib/lightmediascanner_db_private.h File Reference

#include <sqlite3.h>
+#include <sys/types.h>
+#include "lightmediascanner_plugin.h"
+ +

+

+Include dependency graph for lightmediascanner_db_private.h:
+
+
+ +

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_db_cache_entry
struct  lms_db_cache

Defines

#define _LIGHTMEDIASCANNER_DB_PRIVATE_H_   1
#define GNUC_NON_NULL(...)

Functions

sqlite3_stmt * lms_db_compile_stmt (sqlite3 *db, const char *sql) GNUC_NON_NULL(1
sqlite3_stmt *int lms_db_finalize_stmt (sqlite3_stmt *stmt, const char *name) GNUC_NON_NULL(1
sqlite3_stmt *int int lms_db_reset_stmt (sqlite3_stmt *stmt) GNUC_NON_NULL(1)
int lms_db_bind_text (sqlite3_stmt *stmt, int col, const char *text, int len) GNUC_NON_NULL(1)
int lms_db_bind_blob (sqlite3_stmt *stmt, int col, const void *blob, int len) GNUC_NON_NULL(1)
int lms_db_bind_int64 (sqlite3_stmt *stmt, int col, int64_t value) GNUC_NON_NULL(1)
int lms_db_bind_int64_or_null (sqlite3_stmt *stmt, int col, int64_t *p_value) GNUC_NON_NULL(1)
int lms_db_bind_int (sqlite3_stmt *stmt, int col, int value) GNUC_NON_NULL(1)
int lms_db_bind_double (sqlite3_stmt *stmt, int col, double value) GNUC_NON_NULL(1)
int lms_db_create_trigger_if_not_exists (sqlite3 *db, const char *sql) GNUC_NON_NULL(1
int int lms_db_table_version_get (sqlite3 *db, const char *table) GNUC_NON_NULL(1
int int int lms_db_table_version_set (sqlite3 *db, const char *table, unsigned int version) GNUC_NON_NULL(1
int lms_db_table_update (sqlite3 *db, const char *table, unsigned int current_version, unsigned int last_version, const lms_db_table_updater_t *updaters) GNUC_NON_NULL(1
int int lms_db_table_update_if_required (sqlite3 *db, const char *table, unsigned int last_version, lms_db_table_updater_t *updaters) GNUC_NON_NULL(1
int lms_db_cache_add (struct lms_db_cache *cache, const sqlite3 *db, void *data) GNUC_NON_NULL(1
int int lms_db_cache_del (struct lms_db_cache *cache, const sqlite3 *db, void *data) GNUC_NON_NULL(1
int int int lms_db_cache_get (struct lms_db_cache *cache, const sqlite3 *db, void **pdata) GNUC_NON_NULL(1
int int int int lms_db_create_core_tables_if_required (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_begin_transaction (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_end_transaction (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_get_file_info (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_insert_file_info (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_update_file_info (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_delete_file_info (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_set_file_dtime (sqlite3 *db) GNUC_NON_NULL(1)
sqlite3_stmt * lms_db_compile_stmt_get_files (sqlite3 *db) GNUC_NON_NULL(1)
int lms_db_begin_transaction (sqlite3_stmt *stmt) GNUC_NON_NULL(1)
int lms_db_end_transaction (sqlite3_stmt *stmt) GNUC_NON_NULL(1)
int lms_db_update_file_info (sqlite3_stmt *stmt, const struct lms_file_info *finfo) GNUC_NON_NULL(1
int int lms_db_get_file_info (sqlite3_stmt *stmt, struct lms_file_info *finfo) GNUC_NON_NULL(1
int int int lms_db_insert_file_info (sqlite3_stmt *stmt, struct lms_file_info *finfo) GNUC_NON_NULL(1
int int int int lms_db_delete_file_info (sqlite3_stmt *stmt, const struct lms_file_info *finfo) GNUC_NON_NULL(1
int int int int int lms_db_set_file_dtime (sqlite3_stmt *stmt, const struct lms_file_info *finfo) GNUC_NON_NULL(1
int int int int int int lms_db_get_files (sqlite3_stmt *stmt, const char *path, int len) GNUC_NON_NULL(1

Variables

int int int typedef int(* lms_db_table_updater_t )(sqlite3 *db, const char *table, unsigned int current_version, int is_last_run)
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_DB_PRIVATE_H_   1
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 22 of file lightmediascanner_db_private.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 31 of file lightmediascanner_db_private.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + +
int lms_db_begin_transaction (sqlite3_stmt *  stmt  ) 
+
+
+ +

+ +

Definition at line 532 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_blob (sqlite3_stmt *  stmt,
int  col,
const void *  blob,
int  len 
)
+
+
+ +

+ +

Definition at line 168 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_get_file_info(), lms_db_get_files(), and lms_db_insert_file_info().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_double (sqlite3_stmt *  stmt,
int  col,
double  value 
)
+
+
+ +

+ +

Definition at line 251 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int (sqlite3_stmt *  stmt,
int  col,
int  value 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int64 (sqlite3_stmt *  stmt,
int  col,
int64_t  value 
)
+
+
+ +

+ +

Definition at line 191 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_delete_file_info(), and lms_db_set_file_dtime().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_int64_or_null (sqlite3_stmt *  stmt,
int  col,
int64_t *  p_value 
)
+
+
+ +

+ +

Definition at line 210 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_bind_text (sqlite3_stmt *  stmt,
int  col,
const char *  text,
int  len 
)
+
+
+ +

+ +

Definition at line 145 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_db_table_version_get(), and lms_db_table_version_set().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_cache_add (struct lms_db_cache cache,
const sqlite3 *  db,
void *  data 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int int lms_db_cache_del (struct lms_db_cache cache,
const sqlite3 *  db,
void *  data 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int int int lms_db_cache_get (struct lms_db_cache cache,
const sqlite3 *  db,
void **  pdata 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt (sqlite3 *  db,
const char *  sql 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_begin_transaction (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 526 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_delete_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 711 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_end_transaction (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 553 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_get_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 580 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_get_files (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 776 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_insert_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 666 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_set_file_dtime (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 741 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* lms_db_compile_stmt_update_file_info (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 622 of file lightmediascanner_db_common.c.

+ +

References lms_db_compile_stmt().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
int int int int lms_db_create_core_tables_if_required (sqlite3 *  db  ) 
+
+
+ +

+ +

Definition at line 475 of file lightmediascanner_db_common.c.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_create_trigger_if_not_exists (sqlite3 *  db,
const char *  sql 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int int lms_db_delete_file_info (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
int lms_db_end_transaction (sqlite3_stmt *  stmt  ) 
+
+
+ +

+ +

Definition at line 559 of file lightmediascanner_db_common.c.

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
sqlite3_stmt* int lms_db_finalize_stmt (sqlite3_stmt *  stmt,
const char *  name 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int lms_db_get_file_info (sqlite3_stmt *  stmt,
struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int int int int int int lms_db_get_files (sqlite3_stmt *  stmt,
const char *  path,
int  len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int lms_db_insert_file_info (sqlite3_stmt *  stmt,
struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + +
sqlite3_stmt* int int lms_db_reset_stmt (sqlite3_stmt *  stmt  ) 
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int int int lms_db_set_file_dtime (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_db_table_update (sqlite3 *  db,
const char *  table,
unsigned int  current_version,
unsigned int  last_version,
const lms_db_table_updater_t updaters 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int int lms_db_table_update_if_required (sqlite3 *  db,
const char *  table,
unsigned int  last_version,
lms_db_table_updater_t updaters 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int lms_db_table_version_get (sqlite3 *  db,
const char *  table 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int int int lms_db_table_version_set (sqlite3 *  db,
const char *  table,
unsigned int  version 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_db_update_file_info (sqlite3_stmt *  stmt,
const struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+


Variable Documentation

+ +
+
+ + + + +
int int int typedef int(* lms_db_table_updater_t)(sqlite3 *db, const char *table, unsigned int current_version, int is_last_run)
+
+
+ +

+ +

+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.dot b/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.dot new file mode 100644 index 0000000..7df1b94 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_begin_transaction",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.md5 new file mode 100644 index 0000000..cf668af --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_073c254ca7b4d3f42e1be1854bcc42a3_cgraph.md5 @@ -0,0 +1 @@ +13e738f4464a76bd8c9e28877a6e1e3c \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.dot b/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.dot new file mode 100644 index 0000000..0680393 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_set_file_dtime",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.md5 new file mode 100644 index 0000000..fedc6c8 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_08c34b5b1b6e927a696ff0ce66562f54_cgraph.md5 @@ -0,0 +1 @@ +b0290321179ccfdf6b868a1401368d8d \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.dot b/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.dot new file mode 100644 index 0000000..b64fcc8 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_end_transaction",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.md5 new file mode 100644 index 0000000..b1b801b --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_09feca4fbfde33d5647cdd5cc2de6500_cgraph.md5 @@ -0,0 +1 @@ +acd0d2b716dec99598ca58c2c146c8bf \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.dot b/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.dot new file mode 100644 index 0000000..be42de1 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_get_files",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.md5 new file mode 100644 index 0000000..90eeb5f --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_1cc8a80961a0febdd099a028f3da9c30_cgraph.md5 @@ -0,0 +1 @@ +80941c09f55fa7c9f4866a3116b5da2b \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.dot b/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.dot new file mode 100644 index 0000000..2771c4c --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_get_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.md5 new file mode 100644 index 0000000..77f12b4 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_327d54a6dac083e356fd609298a0cbd5_cgraph.md5 @@ -0,0 +1 @@ +30a178024a3fa9cb54b3263f2f21a170 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.dot b/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.dot new file mode 100644 index 0000000..06793b5 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_update_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.md5 new file mode 100644 index 0000000..8f21f90 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_69eb9d9058d9432f7658f9adffb79ed6_cgraph.md5 @@ -0,0 +1 @@ +6d39a7d391eabe504c0839a7bef2900c \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.dot b/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.dot new file mode 100644 index 0000000..cbc9539 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_delete_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.md5 new file mode 100644 index 0000000..f10c3f1 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_76941bdbbdb711fff821343e91c2cd97_cgraph.md5 @@ -0,0 +1 @@ +828ab82b5d7649c83e6458a1e260c2a8 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h__dep__incl.dot b/www/api/lightmediascanner__db__private_8h__dep__incl.dot new file mode 100644 index 0000000..a418b8b --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h__dep__incl.dot @@ -0,0 +1,21 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_private.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__check_8c.html"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_db_common.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html"]; + Node1 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node1 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node1 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; + Node1 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__process_8c.html"]; +} diff --git a/www/api/lightmediascanner__db__private_8h__dep__incl.md5 b/www/api/lightmediascanner__db__private_8h__dep__incl.md5 new file mode 100644 index 0000000..d6a17ad --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h__dep__incl.md5 @@ -0,0 +1 @@ +bd599d87ccd4ef1044acb8dd3e63aa65 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h__incl.dot b/www/api/lightmediascanner__db__private_8h__incl.dot new file mode 100644 index 0000000..d64ca94 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h__incl.dot @@ -0,0 +1,19 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_private.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node4 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__db__private_8h__incl.md5 b/www/api/lightmediascanner__db__private_8h__incl.md5 new file mode 100644 index 0000000..445625a --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h__incl.md5 @@ -0,0 +1 @@ +8903f3c6c7e9cbd9e421137e634c8f65 \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.dot b/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.dot new file mode 100644 index 0000000..e462eba --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_compile_stmt_insert_file_info",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_compile_stmt",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5fddf47521f83929b0c90a481fa01c5b"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sqlite3_prepare_v2",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#21da1a6588f354b758211583559ae405"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.md5 new file mode 100644 index 0000000..33febad --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_bf21f88ddbe28a8290d0df32af0f079c_cgraph.md5 @@ -0,0 +1 @@ +a16e0583ca842d2f781066f594511cbd \ No newline at end of file diff --git a/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.dot b/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.dot new file mode 100644 index 0000000..351b74b --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_db_reset_stmt",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sqlite3_clear_bindings",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#3f8fb8f31c1876b3579956b3d898cd00"]; +} diff --git a/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.md5 b/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.md5 new file mode 100644 index 0000000..5e3f228 --- /dev/null +++ b/www/api/lightmediascanner__db__private_8h_ee78f418f0f3c9ead3023b1453c63556_cgraph.md5 @@ -0,0 +1 @@ +62f0680e416b51bf8b87f43cae646e3a \ No newline at end of file diff --git a/www/api/lightmediascanner__db__video_8c-source.html b/www/api/lightmediascanner__db__video_8c-source.html new file mode 100644 index 0000000..3662f68 --- /dev/null +++ b/www/api/lightmediascanner__db__video_8c-source.html @@ -0,0 +1,239 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_video.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__video_8c.html b/www/api/lightmediascanner__db__video_8c.html new file mode 100644 index 0000000..04a5a65 --- /dev/null +++ b/www/api/lightmediascanner__db__video_8c.html @@ -0,0 +1,97 @@ + + +Light Media Scanner: src/lib/lightmediascanner_db_video.c File Reference + + + + + +
+

src/lib/lightmediascanner_db_video.c File Reference

#include <lightmediascanner_db.h>
+#include "lightmediascanner_db_private.h"
+#include <stdlib.h>
+#include <stdio.h>
+ +

+

+Include dependency graph for lightmediascanner_db_video.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + +

Functions

lms_db_video_tlms_db_video_new (sqlite3 *db)
int lms_db_video_start (lms_db_video_t *ldv)
int lms_db_video_free (lms_db_video_t *ldv)
int lms_db_video_add (lms_db_video_t *ldv, struct lms_video_info *info)
+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int lms_db_video_add (lms_db_video_t ldv,
struct lms_video_info info 
)
+
+
+ +

+Add video file to DB.

+This is usually called from plugin's parse() callback.

+

Parameters:
+ + + +
ldv handle returned by lms_db_video_new().
info video information to store.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 269 of file lightmediascanner_db_video.c.

+ +

References lms_video_info::id.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__db__video_8c__incl.dot b/www/api/lightmediascanner__db__video_8c__incl.dot new file mode 100644 index 0000000..824622c --- /dev/null +++ b/www/api/lightmediascanner__db__video_8c__incl.dot @@ -0,0 +1,30 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__db__video_8c__incl.md5 b/www/api/lightmediascanner__db__video_8c__incl.md5 new file mode 100644 index 0000000..4bc9d68 --- /dev/null +++ b/www/api/lightmediascanner__db__video_8c__incl.md5 @@ -0,0 +1 @@ +bbea3248e170fe8440018cf1110c3ef7 \ No newline at end of file diff --git a/www/api/lightmediascanner__plugin_8h-source.html b/www/api/lightmediascanner__plugin_8h-source.html new file mode 100644 index 0000000..f6baa31 --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h-source.html @@ -0,0 +1,87 @@ + + +Light Media Scanner: src/lib/lightmediascanner_plugin.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__plugin_8h.html b/www/api/lightmediascanner__plugin_8h.html new file mode 100644 index 0000000..67436ac --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h.html @@ -0,0 +1,197 @@ + + +Light Media Scanner: src/lib/lightmediascanner_plugin.h File Reference + + + + + +
+

src/lib/lightmediascanner_plugin.h File Reference

#include <lightmediascanner.h>
+#include <lightmediascanner_charset_conv.h>
+#include <sqlite3.h>
+#include <sys/types.h>
+ +

+

+Include dependency graph for lightmediascanner_plugin.h:
+
+
+ +

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_file_info
struct  lms_context
struct  lms_plugin
struct  lms_plugin_info

Defines

#define _LIGHTMEDIASCANNER_PLUGIN_H_   1

Typedefs

typedef void *(* lms_plugin_match_fn_t )(lms_plugin_t *p, const char *path, int len, int base)
typedef int(* lms_plugin_parse_fn_t )(lms_plugin_t *p, struct lms_context *ctxt, const struct lms_file_info *finfo, void *match)
typedef int(* lms_plugin_close_fn_t )(lms_plugin_t *p)
typedef int(* lms_plugin_setup_fn_t )(lms_plugin_t *p, struct lms_context *ctxt)
typedef int(* lms_plugin_start_fn_t )(lms_plugin_t *p, struct lms_context *ctxt)
typedef int(* lms_plugin_finish_fn_t )(lms_plugin_t *p, struct lms_context *ctxt)
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_PLUGIN_H_   1
+
+
+ +

+ +

Definition at line 134 of file lightmediascanner_plugin.h.

+ +
+

+


Typedef Documentation

+ +
+
+ + + + +
typedef int(* lms_plugin_close_fn_t)(lms_plugin_t *p)
+
+
+ +

+ +

Definition at line 162 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
typedef int(* lms_plugin_finish_fn_t)(lms_plugin_t *p, struct lms_context *ctxt)
+
+
+ +

+ +

Definition at line 165 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
typedef void*(* lms_plugin_match_fn_t)(lms_plugin_t *p, const char *path, int len, int base)
+
+
+ +

+ +

Definition at line 160 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
typedef int(* lms_plugin_parse_fn_t)(lms_plugin_t *p, struct lms_context *ctxt, const struct lms_file_info *finfo, void *match)
+
+
+ +

+ +

Definition at line 161 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
typedef int(* lms_plugin_setup_fn_t)(lms_plugin_t *p, struct lms_context *ctxt)
+
+
+ +

+ +

Definition at line 163 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
typedef int(* lms_plugin_start_fn_t)(lms_plugin_t *p, struct lms_context *ctxt)
+
+
+ +

+ +

Definition at line 164 of file lightmediascanner_plugin.h.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__plugin_8h__dep__incl.dot b/www/api/lightmediascanner__plugin_8h__dep__incl.dot new file mode 100644 index 0000000..f6f6827 --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h__dep__incl.dot @@ -0,0 +1,36 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_plugin.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html"]; + Node2 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__check_8c.html"]; + Node2 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__process_8c.html"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="src/lib/lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node6 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node6 -> Node8 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="src/lib/lightmediascanner_db_common.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html"]; + Node6 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node6 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node6 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; + Node6 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node12 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node12 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node9 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node10 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node11 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__plugin_8h__dep__incl.md5 b/www/api/lightmediascanner__plugin_8h__dep__incl.md5 new file mode 100644 index 0000000..9dcf863 --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h__dep__incl.md5 @@ -0,0 +1 @@ +a9906b5c2132f42633db5a1ade84d1e1 \ No newline at end of file diff --git a/www/api/lightmediascanner__plugin_8h__incl.dot b/www/api/lightmediascanner__plugin_8h__incl.dot new file mode 100644 index 0000000..be20be6 --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h__incl.dot @@ -0,0 +1,15 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_plugin.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__plugin_8h__incl.md5 b/www/api/lightmediascanner__plugin_8h__incl.md5 new file mode 100644 index 0000000..5f503e1 --- /dev/null +++ b/www/api/lightmediascanner__plugin_8h__incl.md5 @@ -0,0 +1 @@ +747005cef72865cbb967e30eec0a986c \ No newline at end of file diff --git a/www/api/lightmediascanner__private_8h-source.html b/www/api/lightmediascanner__private_8h-source.html new file mode 100644 index 0000000..8ff57d3 --- /dev/null +++ b/www/api/lightmediascanner__private_8h-source.html @@ -0,0 +1,118 @@ + + +Light Media Scanner: src/lib/lightmediascanner_private.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__private_8h.html b/www/api/lightmediascanner__private_8h.html new file mode 100644 index 0000000..6bc8ae2 --- /dev/null +++ b/www/api/lightmediascanner__private_8h.html @@ -0,0 +1,545 @@ + + +Light Media Scanner: src/lib/lightmediascanner_private.h File Reference + + + + + +
+

src/lib/lightmediascanner_private.h File Reference

#include "lightmediascanner.h"
+#include "lightmediascanner_plugin.h"
+#include "lightmediascanner_charset_conv.h"
+#include <sys/types.h>
+#include <poll.h>
+#include <limits.h>
+#include <sqlite3.h>
+ +

+

+Include dependency graph for lightmediascanner_private.h:
+
+
+ +

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  fds
struct  cinfo
struct  pinfo
struct  sinfo
struct  parser
struct  lms

Defines

#define _LIGHTMEDIASCANNER_PRIVATE_H_   1
#define GNUC_NON_NULL(...)
#define PATH_SIZE   PATH_MAX

Typedefs

typedef int(* process_file_callback_t )(struct cinfo *info, int base, char *path, const char *name)
typedef int(* check_row_callback_t )(void *db_ptr, struct cinfo *info)

Functions

int lms_parser_del_int (lms_t *lms, int i) GNUC_NON_NULL(1)
int lms_create_pipes (struct pinfo *pinfo) GNUC_NON_NULL(1)
int lms_close_pipes (struct pinfo *pinfo) GNUC_NON_NULL(1)
int lms_create_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds)) GNUC_NON_NULL(1
int int lms_restart_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds)) GNUC_NON_NULL(1
int int int lms_finish_slave (struct pinfo *pinfo, int(*finish)(const struct fds *fds)) GNUC_NON_NULL(1
int int int int lms_parsers_setup (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1
int int int int int lms_parsers_start (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1
int int int int int int lms_parsers_finish (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1
int int int int int int int lms_parsers_check_using (lms_t *lms, void **parser_match, struct lms_file_info *finfo) GNUC_NON_NULL(1
int int int int int int int int lms_parsers_run (lms_t *lms, sqlite3 *db, void **parser_match, struct lms_file_info *finfo) GNUC_NON_NULL(1
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_PRIVATE_H_   1
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 22 of file lightmediascanner_private.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 31 of file lightmediascanner_private.h.

+ +
+

+ +

+
+ + + + +
#define PATH_SIZE   PATH_MAX
+
+
+ +

+ +

Definition at line 42 of file lightmediascanner_private.h.

+ +

Referenced by lms_check(), and lms_check_single_process().

+ +
+

+


Typedef Documentation

+ +
+
+ + + + +
typedef int(* check_row_callback_t)(void *db_ptr, struct cinfo *info)
+
+
+ +

+ +

Definition at line 93 of file lightmediascanner_private.h.

+ +
+

+ +

+
+ + + + +
typedef int(* process_file_callback_t)(struct cinfo *info, int base, char *path, const char *name)
+
+
+ +

+ +

Definition at line 92 of file lightmediascanner_private.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + +
int lms_close_pipes (struct pinfo pinfo  ) 
+
+
+ +

+ +

Definition at line 596 of file lightmediascanner_process.c.

+ +

References pinfo::master, and pinfo::slave.

+ +

Referenced by lms_check(), and lms_process().

+ +
+

+ +

+
+ + + + + + + + + +
int lms_create_pipes (struct pinfo pinfo  ) 
+
+
+ +

+ +

Definition at line 607 of file lightmediascanner_process.c.

+ +

References pinfo::master, pinfo::poll, fds::r, pinfo::slave, and fds::w.

+ +

Referenced by lms_check(), and lms_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_create_slave (struct pinfo pinfo,
int(*)(lms_t *lms, struct fds *fds work 
)
+
+
+ +

+ +

Referenced by lms_process(), and lms_restart_slave().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int lms_finish_slave (struct pinfo pinfo,
int(*)(const struct fds *fds finish 
)
+
+
+ +

+ +

Referenced by lms_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_parser_del_int (lms_t lms,
int  i 
)
+
+
+ +

+ +

Definition at line 294 of file lightmediascanner.c.

+ +

References lms::n_parsers, and lms::parsers.

+ +

Referenced by lms_parser_del(), lms_parsers_setup(), and lms_parsers_start().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int int int int int int int lms_parsers_check_using (lms_t lms,
void **  parser_match,
struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int int int int lms_parsers_finish (lms_t lms,
sqlite3 *  db 
)
+
+
+ +

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int int int int int int int int lms_parsers_run (lms_t lms,
sqlite3 *  db,
void **  parser_match,
struct lms_file_info finfo 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int int lms_parsers_setup (lms_t lms,
sqlite3 *  db 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int int int int lms_parsers_start (lms_t lms,
sqlite3 *  db 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int int lms_restart_slave (struct pinfo pinfo,
int(*)(lms_t *lms, struct fds *fds work 
)
+
+
+ +

+ +

+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__private_8h__dep__incl.dot b/www/api/lightmediascanner__private_8h__dep__incl.dot new file mode 100644 index 0000000..0b17483 --- /dev/null +++ b/www/api/lightmediascanner__private_8h__dep__incl.dot @@ -0,0 +1,13 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_private.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html"]; + Node1 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_check.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__check_8c.html"]; + Node1 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__process_8c.html"]; +} diff --git a/www/api/lightmediascanner__private_8h__dep__incl.md5 b/www/api/lightmediascanner__private_8h__dep__incl.md5 new file mode 100644 index 0000000..cb7c43a --- /dev/null +++ b/www/api/lightmediascanner__private_8h__dep__incl.md5 @@ -0,0 +1 @@ +321c443a6793dc8fa261fafa2e6e818a \ No newline at end of file diff --git a/www/api/lightmediascanner__private_8h__incl.dot b/www/api/lightmediascanner__private_8h__incl.dot new file mode 100644 index 0000000..660b232 --- /dev/null +++ b/www/api/lightmediascanner__private_8h__incl.dot @@ -0,0 +1,25 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_private.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node3 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="poll.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="limits.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__private_8h__incl.md5 b/www/api/lightmediascanner__private_8h__incl.md5 new file mode 100644 index 0000000..9aa7650 --- /dev/null +++ b/www/api/lightmediascanner__private_8h__incl.md5 @@ -0,0 +1 @@ +4c8a5273f93a6b473542884ff86f68fe \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c-source.html b/www/api/lightmediascanner__process_8c-source.html new file mode 100644 index 0000000..f6fd8dc --- /dev/null +++ b/www/api/lightmediascanner__process_8c-source.html @@ -0,0 +1,1078 @@ + + +Light Media Scanner: src/lib/lightmediascanner_process.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__process_8c.html b/www/api/lightmediascanner__process_8c.html new file mode 100644 index 0000000..b753481 --- /dev/null +++ b/www/api/lightmediascanner__process_8c.html @@ -0,0 +1,584 @@ + + +Light Media Scanner: src/lib/lightmediascanner_process.c File Reference + + + + + +
+

src/lib/lightmediascanner_process.c File Reference

#include <sys/wait.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <dirent.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "lightmediascanner.h"
+#include "lightmediascanner_private.h"
+#include "lightmediascanner_db_private.h"
+ +

+

+Include dependency graph for lightmediascanner_process.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define _GNU_SOURCE

Functions

int lms_parsers_setup (lms_t *lms, sqlite3 *db)
int lms_parsers_start (lms_t *lms, sqlite3 *db)
int lms_parsers_finish (lms_t *lms, sqlite3 *db)
int lms_parsers_check_using (lms_t *lms, void **parser_match, struct lms_file_info *finfo)
int lms_parsers_run (lms_t *lms, sqlite3 *db, void **parser_match, struct lms_file_info *finfo)
int lms_close_pipes (struct pinfo *pinfo)
int lms_create_pipes (struct pinfo *pinfo)
int lms_create_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds))
int lms_finish_slave (struct pinfo *pinfo, int(*finish)(const struct fds *fds))
int lms_restart_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds))
int lms_process (lms_t *lms, const char *top_path)
int lms_process_single_process (lms_t *lms, const char *top_path)
void lms_stop_processing (lms_t *lms)
+


Define Documentation

+ +
+
+ + + + +
#define _GNU_SOURCE
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 25 of file lightmediascanner_process.c.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + +
int lms_close_pipes (struct pinfo pinfo  ) 
+
+
+ +

+ +

Definition at line 596 of file lightmediascanner_process.c.

+ +

References pinfo::master, and pinfo::slave.

+ +

Referenced by lms_check(), and lms_process().

+ +
+

+ +

+
+ + + + + + + + + +
int lms_create_pipes (struct pinfo pinfo  ) 
+
+
+ +

+ +

Definition at line 607 of file lightmediascanner_process.c.

+ +

References pinfo::master, pinfo::poll, fds::r, pinfo::slave, and fds::w.

+ +

Referenced by lms_check(), and lms_process().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_create_slave (struct pinfo pinfo,
int(*)(lms_t *lms, struct fds *fds work 
)
+
+
+ +

+ +

Definition at line 634 of file lightmediascanner_process.c.

+ +

References pinfo::child, pinfo::common, cinfo::lms, lms_free(), pinfo::master, and pinfo::slave.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_finish_slave (struct pinfo pinfo,
int(*)(const struct fds *fds finish 
)
+
+
+ +

+ +

Definition at line 671 of file lightmediascanner_process.c.

+ +

References pinfo::child, and pinfo::master.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int lms_parsers_check_using (lms_t lms,
void **  parser_match,
struct lms_file_info finfo 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_parsers_finish (lms_t lms,
sqlite3 *  db 
)
+
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_parsers_run (lms_t lms,
sqlite3 *  db,
void **  parser_match,
struct lms_file_info finfo 
)
+
+
+ +

+ +

Definition at line 387 of file lightmediascanner_process.c.

+ +

References lms::n_parsers, lms_plugin::parse, lms::parsers, and parser::plugin.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_parsers_setup (lms_t lms,
sqlite3 *  db 
)
+
+
+ +

+ +

Definition at line 293 of file lightmediascanner_process.c.

+ +

References lms_plugin::finish, lms_parser_del_int(), lms::n_parsers, lms_plugin::name, lms::parsers, parser::plugin, and lms_plugin::setup.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_parsers_start (lms_t lms,
sqlite3 *  db 
)
+
+
+ +

+ +

Definition at line 319 of file lightmediascanner_process.c.

+ +

References lms_plugin::finish, lms_parser_del_int(), lms::n_parsers, lms_plugin::name, lms::parsers, parser::plugin, and lms_plugin::start.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+Process the given directory.

+This will add or update media found in the given directory or its children.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
top_path top directory to scan.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 1005 of file lightmediascanner_process.c.

+ +

References pinfo::common, cinfo::lms, lms_close_pipes(), lms_create_pipes(), lms_create_slave(), and lms_finish_slave().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_process_single_process (lms_t lms,
const char *  top_path 
)
+
+
+ +

+Process the given directory *without fork()-ing* into child process.

+This will add or update media found in the given directory or its children. Note that if a parser hangs during the process, this call will also hang.

+

Parameters:
+ + + +
lms previously allocated Light Media Scanner instance.
top_path top directory to scan.
+
+
Returns:
On success 0 is returned.
+ +

Definition at line 1047 of file lightmediascanner_process.c.

+ +

References sinfo::commit_counter, sinfo::common, sinfo::db, cinfo::lms, lms_db_begin_transaction(), lms_db_end_transaction(), lms_parsers_finish(), and sinfo::parser_match.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int lms_restart_slave (struct pinfo pinfo,
int(*)(lms_t *lms, struct fds *fds work 
)
+
+
+ +

+ +

Definition at line 694 of file lightmediascanner_process.c.

+ +

References pinfo::child, lms_create_slave(), and pinfo::poll.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + +
void lms_stop_processing (lms_t lms  ) 
+
+
+ +

+ +

Definition at line 1082 of file lightmediascanner_process.c.

+ +

References lms::is_processing, and lms::stop_processing.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.dot b/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.dot new file mode 100644 index 0000000..58c5d2d --- /dev/null +++ b/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.dot @@ -0,0 +1,14 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_process_single_process",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_db_begin_transaction",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#5ff807216285c93325ffaf33361dd6fc"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_db_end_transaction",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__common_8c.html#ffa877e4fa751f090e7af8c2025d245c"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_parsers_finish",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#74adcb264b3092f3ae9249de93f9130f"]; +} diff --git a/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.md5 b/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.md5 new file mode 100644 index 0000000..7455e77 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_5db83cefb7a50bbecea9de26a6ef1c2c_cgraph.md5 @@ -0,0 +1 @@ +e62d222ba815168ae862c6476d8ccf84 \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.dot b/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.dot new file mode 100644 index 0000000..6c4a4c7 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parsers_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_del_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#e6ccb942742cf65cc1cf866aceb4bddf"]; +} diff --git a/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.md5 b/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.md5 new file mode 100644 index 0000000..94504c2 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_6e02f78f026b2ad282184476dca13e45_cgraph.md5 @@ -0,0 +1 @@ +4d753703b39fc0b9548d48d3aacc6cb4 \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.dot b/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.dot new file mode 100644 index 0000000..1fcb62a --- /dev/null +++ b/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_restart_slave",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_create_slave",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#439b3c62e96d472bdb2125a0a04d4fa6"]; +} diff --git a/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.md5 b/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.md5 new file mode 100644 index 0000000..79f790e --- /dev/null +++ b/www/api/lightmediascanner__process_8c_9bf510645947b478dab39f633bbd35f3_cgraph.md5 @@ -0,0 +1 @@ +a13a076121386b56f1f14200b632b47e \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c__incl.dot b/www/api/lightmediascanner__process_8c__incl.dot new file mode 100644 index 0000000..8b7534c --- /dev/null +++ b/www/api/lightmediascanner__process_8c__incl.dot @@ -0,0 +1,49 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_process.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="sys/wait.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="sys/stat.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="unistd.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="dirent.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="signal.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="stdio.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node8 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node9 [label="string.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node10 [label="lightmediascanner.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8h.html"]; + Node1 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 [label="lightmediascanner_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html"]; + Node11 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 [label="lightmediascanner_plugin.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__plugin_8h.html"]; + Node12 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node13 [label="lightmediascanner_charset_conv.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__charset__conv_8h.html"]; + Node12 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node14 [label="sqlite3.h",height=0.2,width=0.4,color="grey75"]; + Node12 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node15 [label="sys/types.h",height=0.2,width=0.4,color="grey75"]; + Node11 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node11 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node16 [label="poll.h",height=0.2,width=0.4,color="grey75"]; + Node11 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node17 [label="limits.h",height=0.2,width=0.4,color="grey75"]; + Node11 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node1 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node18 [label="lightmediascanner_db_private.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__private_8h.html"]; + Node18 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node18 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node18 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; +} diff --git a/www/api/lightmediascanner__process_8c__incl.md5 b/www/api/lightmediascanner__process_8c__incl.md5 new file mode 100644 index 0000000..9f7bfad --- /dev/null +++ b/www/api/lightmediascanner__process_8c__incl.md5 @@ -0,0 +1 @@ +36f1b89514800aeb2a369e7d8013adcf \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.dot b/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.dot new file mode 100644 index 0000000..57c048f --- /dev/null +++ b/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.dot @@ -0,0 +1,16 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_process",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_close_pipes",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#8c1aa0a9d9bb796db279caeb97e04eed"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_create_pipes",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#a5952b7aae2fa795396a5a286c2ee4a4"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="lms_create_slave",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#439b3c62e96d472bdb2125a0a04d4fa6"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="lms_finish_slave",height=0.2,width=0.4,color="black",URL="$lightmediascanner__private_8h.html#dd3853bb333e8bee167477933a058ae5"]; +} diff --git a/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.md5 b/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.md5 new file mode 100644 index 0000000..fc7e288 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_c2f07fb73717514237862c98dbf023b2_cgraph.md5 @@ -0,0 +1 @@ +ad645493b242b4b8f663724f5c4297ce \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.dot b/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.dot new file mode 100644 index 0000000..52376e8 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_parsers_setup",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_parser_del_int",height=0.2,width=0.4,color="black",URL="$lightmediascanner_8c.html#e6ccb942742cf65cc1cf866aceb4bddf"]; +} diff --git a/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.md5 b/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.md5 new file mode 100644 index 0000000..9c13a51 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_c321bebfc5c24cbbac30031202c460e9_cgraph.md5 @@ -0,0 +1 @@ +60c3b25b0b67be22210d500217851f8a \ No newline at end of file diff --git a/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.dot b/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.dot new file mode 100644 index 0000000..a893489 --- /dev/null +++ b/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.dot @@ -0,0 +1,12 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_create_slave",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_free",height=0.2,width=0.4,color="black",URL="$group__LMS__API.html#gf15f3b0f7de2113155a360df989b7687"]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="lms_charset_conv_free",height=0.2,width=0.4,color="black",URL="$group__LMS__CHARSET.html#g960ce31bca428212abdd60c12b878091"]; +} diff --git a/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.md5 b/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.md5 new file mode 100644 index 0000000..17c547d --- /dev/null +++ b/www/api/lightmediascanner__process_8c_e92fe8fe90d93d5ad9a42387a4b2fc6e_cgraph.md5 @@ -0,0 +1 @@ +78bbb5185b7a4a042ce0f3b10f501274 \ No newline at end of file diff --git a/www/api/lightmediascanner__utils_8c-source.html b/www/api/lightmediascanner__utils_8c-source.html new file mode 100644 index 0000000..cacce35 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c-source.html @@ -0,0 +1,153 @@ + + +Light Media Scanner: src/lib/lightmediascanner_utils.c Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__utils_8c.html b/www/api/lightmediascanner__utils_8c.html new file mode 100644 index 0000000..e74b956 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c.html @@ -0,0 +1,238 @@ + + +Light Media Scanner: src/lib/lightmediascanner_utils.c File Reference + + + + + +
+

src/lib/lightmediascanner_utils.c File Reference

#include <lightmediascanner_utils.h>
+#include <ctype.h>
+#include <stdlib.h>
+#include <alloca.h>
+ +

+

+Include dependency graph for lightmediascanner_utils.c:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + +

Functions

void lms_strstrip (char *str, unsigned int *p_len)
void lms_strstrip_and_free (char **p_str, unsigned int *p_len)
void lms_string_size_strip_and_free (struct lms_string_size *p)
int lms_which_extension (const char *name, unsigned int name_len, const struct lms_string_size *exts, unsigned int exts_len)
+


Function Documentation

+ +
+
+ + + + + + + + + +
void lms_string_size_strip_and_free (struct lms_string_size p  ) 
+
+
+ +

+lms_string_size version of lms_strstrip_and_free().

+

Parameters:
+ + +
*p pointer to lms_string_size to be stripped.
+
+
Note:
this will call free() on lms_string_size->str if it becomes empty.
+ +

Definition at line 114 of file lightmediascanner_utils.c.

+ +

References lms_string_size::len, lms_strstrip(), and lms_string_size::str.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void lms_strstrip (char *  str,
unsigned int *  p_len 
)
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org> Strips string, in place.
+
Parameters:
+ + + +
str string to be stripped.
p_len string length to analyse, also the place where the final size is stored.
+
+ +

Definition at line 34 of file lightmediascanner_utils.c.

+ +

Referenced by lms_string_size_strip_and_free(), and lms_strstrip_and_free().

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void lms_strstrip_and_free (char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+If string exists, strips it, in place, free if *p_len = 0

+

Parameters:
+ + + +
p_str pointer to string to be stripped.
p_len string length to analyse, also the place where the final size is stored.
+
+
Note:
this will call free() on *p_str if it becomes empty.
+ +

Definition at line 94 of file lightmediascanner_utils.c.

+ +

References lms_strstrip().

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int lms_which_extension (const char *  name,
unsigned int  name_len,
const struct lms_string_size exts,
unsigned int  exts_len 
)
+
+
+ +

+Find out which of the given extensions matches the given name.

+

Parameters:
+ + + + + +
name string to analyse.
name_len string length.
exts array of extensions to be checked.
exts_len number of items in array exts
+
+
Returns:
index in exts or -1 if it doesn't match none.
+ +

Definition at line 138 of file lightmediascanner_utils.c.

+ +

References lms_string_size::str.

+ +
+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.dot b/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.dot new file mode 100644 index 0000000..a475bc1 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_strstrip_and_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_strstrip",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8c.html#086d2449129976541c66a83984bffbe6"]; +} diff --git a/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.md5 b/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.md5 new file mode 100644 index 0000000..2637ca7 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c_45d15c8bfeddaef0d5b1d0bd9ecc0c79_cgraph.md5 @@ -0,0 +1 @@ +edd5d23fa02c2e269c9469f410510507 \ No newline at end of file diff --git a/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.dot b/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.dot new file mode 100644 index 0000000..c6e1369 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_string_size_strip_and_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_strstrip",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8c.html#086d2449129976541c66a83984bffbe6"]; +} diff --git a/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.md5 b/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.md5 new file mode 100644 index 0000000..c6737b6 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c_9ed157dee5c16f4c62c5ae6e281580cf_cgraph.md5 @@ -0,0 +1 @@ +c00672260f07c201c197966ed537d380 \ No newline at end of file diff --git a/www/api/lightmediascanner__utils_8c__incl.dot b/www/api/lightmediascanner__utils_8c__incl.dot new file mode 100644 index 0000000..a42fff0 --- /dev/null +++ b/www/api/lightmediascanner__utils_8c__incl.dot @@ -0,0 +1,15 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_utils.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lightmediascanner_utils.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8h.html"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="ctype.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="stdlib.h",height=0.2,width=0.4,color="grey75"]; + Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="alloca.h",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/lightmediascanner__utils_8c__incl.md5 b/www/api/lightmediascanner__utils_8c__incl.md5 new file mode 100644 index 0000000..d93fd0c --- /dev/null +++ b/www/api/lightmediascanner__utils_8c__incl.md5 @@ -0,0 +1 @@ +a1dc263fa97a14958d091ffea4fedd69 \ No newline at end of file diff --git a/www/api/lightmediascanner__utils_8h-source.html b/www/api/lightmediascanner__utils_8h-source.html new file mode 100644 index 0000000..b6607a8 --- /dev/null +++ b/www/api/lightmediascanner__utils_8h-source.html @@ -0,0 +1,77 @@ + + +Light Media Scanner: src/lib/lightmediascanner_utils.h Source File + + + + + +
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__utils_8h.html b/www/api/lightmediascanner__utils_8h.html new file mode 100644 index 0000000..bcdd97f --- /dev/null +++ b/www/api/lightmediascanner__utils_8h.html @@ -0,0 +1,307 @@ + + +Light Media Scanner: src/lib/lightmediascanner_utils.h File Reference + + + + + +
+

src/lib/lightmediascanner_utils.h File Reference

+

+

+This graph shows which files directly or indirectly include this file:
+
+
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  lms_string_size

Defines

#define _LIGHTMEDIASCANNER_UTILS_H_   1
#define API
#define GNUC_NON_NULL(...)
#define LMS_STATIC_STRING_SIZE(s)   {s, sizeof(s) - 1}
#define LMS_ARRAY_SIZE(a)   (sizeof(a) / sizeof(*a))

Functions

API void lms_strstrip (char *str, unsigned int *p_len) GNUC_NON_NULL(1
API void API void lms_strstrip_and_free (char **p_str, unsigned int *p_len) GNUC_NON_NULL(1
API void API void API void lms_string_size_strip_and_free (struct lms_string_size *p) GNUC_NON_NULL(1)
API int lms_which_extension (const char *name, unsigned int name_len, const struct lms_string_size *exts, unsigned int exts_len) GNUC_NON_NULL(1
+


Define Documentation

+ +
+
+ + + + +
#define _LIGHTMEDIASCANNER_UTILS_H_   1
+
+
+ +

+Copyright (C) 2007 by INdT

+This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

+You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>
+ +

Definition at line 22 of file lightmediascanner_utils.h.

+ +
+

+ +

+
+ + + + +
#define API
+
+
+ +

+ +

Definition at line 40 of file lightmediascanner_utils.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define GNUC_NON_NULL ( ...   ) 
+
+
+ +

+ +

Definition at line 41 of file lightmediascanner_utils.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define LMS_ARRAY_SIZE (  )    (sizeof(a) / sizeof(*a))
+
+
+ +

+ +

Definition at line 55 of file lightmediascanner_utils.h.

+ +
+

+ +

+
+ + + + + + + + + +
#define LMS_STATIC_STRING_SIZE (  )    {s, sizeof(s) - 1}
+
+
+ +

+ +

Definition at line 54 of file lightmediascanner_utils.h.

+ +
+

+


Function Documentation

+ +
+
+ + + + + + + + + +
API void API void API void lms_string_size_strip_and_free (struct lms_string_size p  ) 
+
+
+ +

+lms_string_size version of lms_strstrip_and_free().

+

Parameters:
+ + +
*p pointer to lms_string_size to be stripped.
+
+
Note:
this will call free() on lms_string_size->str if it becomes empty.
+ +

Definition at line 114 of file lightmediascanner_utils.c.

+ +

References lms_string_size::len, lms_strstrip(), and lms_string_size::str.

+ +

+

+Here is the call graph for this function:
+
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API void lms_strstrip (char *  str,
unsigned int *  p_len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
API void API void lms_strstrip_and_free (char **  p_str,
unsigned int *  p_len 
)
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
API int lms_which_extension (const char *  name,
unsigned int  name_len,
const struct lms_string_size exts,
unsigned int  exts_len 
)
+
+
+ +

+ +

+

+

+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.dot b/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.dot new file mode 100644 index 0000000..c6e1369 --- /dev/null +++ b/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.dot @@ -0,0 +1,10 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + rankdir=LR; + Node1 [label="lms_string_size_strip_and_free",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="lms_strstrip",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8c.html#086d2449129976541c66a83984bffbe6"]; +} diff --git a/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.md5 b/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.md5 new file mode 100644 index 0000000..c6737b6 --- /dev/null +++ b/www/api/lightmediascanner__utils_8h_5a7e5da69500a12f447a77177dbb6e0d_cgraph.md5 @@ -0,0 +1 @@ +c00672260f07c201c197966ed537d380 \ No newline at end of file diff --git a/www/api/lightmediascanner__utils_8h__dep__incl.dot b/www/api/lightmediascanner__utils_8h__dep__incl.dot new file mode 100644 index 0000000..0bfaa19 --- /dev/null +++ b/www/api/lightmediascanner__utils_8h__dep__incl.dot @@ -0,0 +1,19 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="src/lib/lightmediascanner_utils.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node1 -> Node2 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node2 [label="src/lib/lightmediascanner_db.h",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db_8h.html"]; + Node2 -> Node3 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node3 [label="src/lib/lightmediascanner_db_audio.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__audio_8c.html"]; + Node2 -> Node4 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node4 [label="src/lib/lightmediascanner_db_image.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__image_8c.html"]; + Node2 -> Node5 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node5 [label="src/lib/lightmediascanner_db_playlist.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__playlist_8c.html"]; + Node2 -> Node6 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node6 [label="src/lib/lightmediascanner_db_video.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__db__video_8c.html"]; + Node1 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; + Node7 [label="src/lib/lightmediascanner_utils.c",height=0.2,width=0.4,color="black",URL="$lightmediascanner__utils_8c.html"]; +} diff --git a/www/api/lightmediascanner__utils_8h__dep__incl.md5 b/www/api/lightmediascanner__utils_8h__dep__incl.md5 new file mode 100644 index 0000000..b0b448c --- /dev/null +++ b/www/api/lightmediascanner__utils_8h__dep__incl.md5 @@ -0,0 +1 @@ +8923213b8c529c541c691c72abf46ccc \ No newline at end of file diff --git a/www/api/modules.html b/www/api/modules.html new file mode 100644 index 0000000..b8e90a0 --- /dev/null +++ b/www/api/modules.html @@ -0,0 +1,30 @@ + + +Light Media Scanner: Module Index + + + + + +
+

Modules

Here is a list of all modules: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structcinfo.html b/www/api/structcinfo.html new file mode 100644 index 0000000..660b47f --- /dev/null +++ b/www/api/structcinfo.html @@ -0,0 +1,68 @@ + + +Light Media Scanner: cinfo Struct Reference + + + + + +
+

cinfo Struct Reference

#include <lightmediascanner_private.h> +

+

+Collaboration diagram for cinfo:
+
+
[legend]
+ + + + + +

Data Fields

lms_tlms
+

Detailed Description

+ +

Definition at line 49 of file lightmediascanner_private.h.

+

Field Documentation

+ +

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structcinfo__coll__graph.dot b/www/api/structcinfo__coll__graph.dot new file mode 100644 index 0000000..66102e6 --- /dev/null +++ b/www/api/structcinfo__coll__graph.dot @@ -0,0 +1,15 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{cinfo\n|+ lms\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="lms",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms\n|+ parsers\l+ n_parsers\l+ cs_conv\l+ db_path\l+ slave_timeout\l+ cb\l+ data\l+ free_data\l+ progress\l+ commit_interval\l+ is_processing\l+ stop_processing\l|}",height=0.2,width=0.4,color="black",URL="$structlms.html"]; + Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="cs_conv",arrowtail="open",fontname="FreeSans"]; + Node3 [label="{lms_charset_conv\n|+ check\l+ fallback\l+ size\l+ convs\l+ names\l|}",height=0.2,width=0.4,color="grey75"]; + Node4 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="parsers",arrowtail="open",fontname="FreeSans"]; + Node4 [label="{parser\n|+ plugin\l+ dl_handle\l+ so_path\l|}",height=0.2,width=0.4,color="black",URL="$structparser.html"]; + Node5 -> Node4 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="plugin",arrowtail="open",fontname="FreeSans"]; + Node5 [label="{lms_plugin\n|+ name\l+ match\l+ parse\l+ close\l+ setup\l+ start\l+ finish\l|}",height=0.2,width=0.4,color="black",URL="$structlms__plugin.html"]; +} diff --git a/www/api/structcinfo__coll__graph.md5 b/www/api/structcinfo__coll__graph.md5 new file mode 100644 index 0000000..1a80f42 --- /dev/null +++ b/www/api/structcinfo__coll__graph.md5 @@ -0,0 +1 @@ +c51900b708126a53f243416c9af586aa \ No newline at end of file diff --git a/www/api/structfds.html b/www/api/structfds.html new file mode 100644 index 0000000..c08d5cb --- /dev/null +++ b/www/api/structfds.html @@ -0,0 +1,85 @@ + + +Light Media Scanner: fds Struct Reference + + + + + +
+

fds Struct Reference

#include <lightmediascanner_private.h> +

+ + + + + + + +

Data Fields

int r
int w
+


Detailed Description

+ +

Definition at line 44 of file lightmediascanner_private.h.

+

Field Documentation

+ +
+
+ + + + +
int fds::r
+
+
+ +

+ +

Definition at line 45 of file lightmediascanner_private.h.

+ +

Referenced by lms_create_pipes().

+ +
+

+ +

+
+ + + + +
int fds::w
+
+
+ +

+ +

Definition at line 46 of file lightmediascanner_private.h.

+ +

Referenced by lms_create_pipes().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms.html b/www/api/structlms.html new file mode 100644 index 0000000..909c5c0 --- /dev/null +++ b/www/api/structlms.html @@ -0,0 +1,299 @@ + + +Light Media Scanner: lms Struct Reference + + + + + +
+

lms Struct Reference

#include <lightmediascanner_private.h> +

+

+Collaboration diagram for lms:
+
+
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Fields

struct parserparsers
int n_parsers
lms_charset_conv_tcs_conv
char * db_path
int slave_timeout
struct {
   lms_progress_callback_t   cb
   void *   data
   lms_free_callback_t   free_data
progress
unsigned int commit_interval
unsigned int is_processing:1
unsigned int stop_processing:1
+

Detailed Description

+ +

Definition at line 76 of file lightmediascanner_private.h.

+

Field Documentation

+ +
+ +
+ +

+ +

Definition at line 83 of file lightmediascanner_private.h.

+ +

Referenced by lms_set_progress_callback().

+ +
+

+ +

+
+ + + + +
unsigned int lms::commit_interval
+
+
+ +

+ +

Definition at line 87 of file lightmediascanner_private.h.

+ +

Referenced by lms_get_commit_interval(), lms_new(), and lms_set_commit_interval().

+ +
+

+ +

+ +
+ +

+ +

Definition at line 79 of file lightmediascanner_private.h.

+ +

Referenced by lms_charset_add(), lms_charset_del(), lms_free(), and lms_new().

+ +
+

+ +

+
+ + + + +
void* lms::data
+
+
+ +

+ +

Definition at line 84 of file lightmediascanner_private.h.

+ +

Referenced by lms_free(), and lms_set_progress_callback().

+ +
+

+ +

+
+ + + + +
char* lms::db_path
+
+
+ +

+ +

Definition at line 80 of file lightmediascanner_private.h.

+ +

Referenced by lms_free(), lms_get_db_path(), and lms_new().

+ +
+

+ +

+ +
+ +

+ +

Definition at line 85 of file lightmediascanner_private.h.

+ +

Referenced by lms_free(), and lms_set_progress_callback().

+ +
+

+ +

+ +

+ +

+ +

+
+ + + + +
struct { ... } lms::progress
+
+
+ +

+ +

Referenced by lms_free(), and lms_set_progress_callback().

+ +
+

+ +

+
+ + + + +
int lms::slave_timeout
+
+
+ +

+ +

Definition at line 81 of file lightmediascanner_private.h.

+ +

Referenced by lms_get_slave_timeout(), lms_new(), and lms_set_slave_timeout().

+ +
+

+ +

+
+ + + + +
unsigned int lms::stop_processing
+
+
+ +

+ +

Definition at line 89 of file lightmediascanner_private.h.

+ +

Referenced by lms_check(), lms_check_single_process(), and lms_stop_processing().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__audio__info.html b/www/api/structlms__audio__info.html new file mode 100644 index 0000000..ad4582b --- /dev/null +++ b/www/api/structlms__audio__info.html @@ -0,0 +1,204 @@ + + +Light Media Scanner: lms_audio_info Struct Reference + + + + + +
+

lms_audio_info Struct Reference
+ +[DataBase-API] +

#include <lightmediascanner_db.h> +

+

+Collaboration diagram for lms_audio_info:
+
+
[legend]
+ + + + + + + + + + + + + + + + + + + +

Data Fields

int64_t id
struct lms_string_size title
struct lms_string_size artist
struct lms_string_size album
struct lms_string_size genre
unsigned int playcnt
unsigned char trackno
unsigned char rating
+

Detailed Description

+ +

Definition at line 86 of file lightmediascanner_db.h.

+

Field Documentation

+ +
+
+ + + + +
struct lms_string_size lms_audio_info::album [read]
+
+
+ +

+ +

Definition at line 90 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_audio_info::artist [read]
+
+
+ +

+ +

Definition at line 89 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_audio_info::genre [read]
+
+
+ +

+ +

Definition at line 91 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
int64_t lms_audio_info::id
+
+
+ +

+ +

Definition at line 87 of file lightmediascanner_db.h.

+ +

Referenced by lms_db_audio_add().

+ +
+

+ +

+
+ + + + +
unsigned int lms_audio_info::playcnt
+
+
+ +

+ +

Definition at line 92 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
unsigned char lms_audio_info::rating
+
+
+ +

+ +

Definition at line 94 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_audio_info::title [read]
+
+
+ +

+ +

Definition at line 88 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
unsigned char lms_audio_info::trackno
+
+
+ +

+ +

Definition at line 93 of file lightmediascanner_db.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__audio__info__coll__graph.dot b/www/api/structlms__audio__info__coll__graph.dot new file mode 100644 index 0000000..3f7bfdf --- /dev/null +++ b/www/api/structlms__audio__info__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_audio_info\n|+ id\l+ title\l+ artist\l+ album\l+ genre\l+ playcnt\l+ trackno\l+ rating\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="title\nartist\nalbum\ngenre",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_string_size\n|+ str\l+ len\l|}",height=0.2,width=0.4,color="black",URL="$structlms__string__size.html"]; +} diff --git a/www/api/structlms__audio__info__coll__graph.md5 b/www/api/structlms__audio__info__coll__graph.md5 new file mode 100644 index 0000000..c47283a --- /dev/null +++ b/www/api/structlms__audio__info__coll__graph.md5 @@ -0,0 +1 @@ +f842b2815e9b81c09db9d42be21f64b5 \ No newline at end of file diff --git a/www/api/structlms__coll__graph.dot b/www/api/structlms__coll__graph.dot new file mode 100644 index 0000000..809cac9 --- /dev/null +++ b/www/api/structlms__coll__graph.dot @@ -0,0 +1,13 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms\n|+ parsers\l+ n_parsers\l+ cs_conv\l+ db_path\l+ slave_timeout\l+ cb\l+ data\l+ free_data\l+ progress\l+ commit_interval\l+ is_processing\l+ stop_processing\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="cs_conv",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_charset_conv\n|+ check\l+ fallback\l+ size\l+ convs\l+ names\l|}",height=0.2,width=0.4,color="grey75"]; + Node3 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="parsers",arrowtail="open",fontname="FreeSans"]; + Node3 [label="{parser\n|+ plugin\l+ dl_handle\l+ so_path\l|}",height=0.2,width=0.4,color="black",URL="$structparser.html"]; + Node4 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="plugin",arrowtail="open",fontname="FreeSans"]; + Node4 [label="{lms_plugin\n|+ name\l+ match\l+ parse\l+ close\l+ setup\l+ start\l+ finish\l|}",height=0.2,width=0.4,color="black",URL="$structlms__plugin.html"]; +} diff --git a/www/api/structlms__coll__graph.md5 b/www/api/structlms__coll__graph.md5 new file mode 100644 index 0000000..06cc281 --- /dev/null +++ b/www/api/structlms__coll__graph.md5 @@ -0,0 +1 @@ +0b9559d9d2cb96f2994788bb76df7bfd \ No newline at end of file diff --git a/www/api/structlms__context.html b/www/api/structlms__context.html new file mode 100644 index 0000000..226328b --- /dev/null +++ b/www/api/structlms__context.html @@ -0,0 +1,85 @@ + + +Light Media Scanner: lms_context Struct Reference + + + + + +
+

lms_context Struct Reference

#include <lightmediascanner_plugin.h> +

+

+Collaboration diagram for lms_context:
+
+
[legend]
+ + + + + + + +

Data Fields

sqlite3 * db
lms_charset_conv_tcs_conv
+

Detailed Description

+ +

Definition at line 155 of file lightmediascanner_plugin.h.

+

Field Documentation

+ +
+ +
+ +

+charset conversion tool +

Definition at line 157 of file lightmediascanner_plugin.h.

+ +
+

+ +

+
+ + + + +
sqlite3* lms_context::db
+
+
+ +

+database instance +

Definition at line 156 of file lightmediascanner_plugin.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__context__coll__graph.dot b/www/api/structlms__context__coll__graph.dot new file mode 100644 index 0000000..bc4fa1c --- /dev/null +++ b/www/api/structlms__context__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_context\n|+ db\l+ cs_conv\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="cs_conv",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_charset_conv\n|+ check\l+ fallback\l+ size\l+ convs\l+ names\l|}",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/structlms__context__coll__graph.md5 b/www/api/structlms__context__coll__graph.md5 new file mode 100644 index 0000000..55c4e55 --- /dev/null +++ b/www/api/structlms__context__coll__graph.md5 @@ -0,0 +1 @@ +1e2251224dceddec4b9c7df5f598a823 \ No newline at end of file diff --git a/www/api/structlms__db__cache.html b/www/api/structlms__db__cache.html new file mode 100644 index 0000000..472620a --- /dev/null +++ b/www/api/structlms__db__cache.html @@ -0,0 +1,89 @@ + + +Light Media Scanner: lms_db_cache Struct Reference + + + + + +
+

lms_db_cache Struct Reference

#include <lightmediascanner_db_private.h> +

+

+Collaboration diagram for lms_db_cache:
+
+
[legend]
+ + + + + + + +

Data Fields

int size
struct lms_db_cache_entryentries
+

Detailed Description

+ +

Definition at line 62 of file lightmediascanner_db_private.h.

+

Field Documentation

+ +
+
+ + + + +
struct lms_db_cache_entry* lms_db_cache::entries [read]
+
+
+ +

+ +

Definition at line 64 of file lightmediascanner_db_private.h.

+ +

Referenced by lms_db_cache_add(), lms_db_cache_del(), and lms_db_cache_get().

+ +
+

+ +

+
+ + + + +
int lms_db_cache::size
+
+
+ +

+ +

Definition at line 63 of file lightmediascanner_db_private.h.

+ +

Referenced by lms_db_cache_add(), and lms_db_cache_del().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__db__cache__coll__graph.dot b/www/api/structlms__db__cache__coll__graph.dot new file mode 100644 index 0000000..c4b77cb --- /dev/null +++ b/www/api/structlms__db__cache__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_db_cache\n|+ size\l+ entries\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="entries",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_db_cache_entry\n|+ db\l+ data\l|}",height=0.2,width=0.4,color="black",URL="$structlms__db__cache__entry.html"]; +} diff --git a/www/api/structlms__db__cache__coll__graph.md5 b/www/api/structlms__db__cache__coll__graph.md5 new file mode 100644 index 0000000..004637a --- /dev/null +++ b/www/api/structlms__db__cache__coll__graph.md5 @@ -0,0 +1 @@ +77e3ebea0d93a6c4d32dd146b123397d \ No newline at end of file diff --git a/www/api/structlms__db__cache__entry.html b/www/api/structlms__db__cache__entry.html new file mode 100644 index 0000000..39ca071 --- /dev/null +++ b/www/api/structlms__db__cache__entry.html @@ -0,0 +1,85 @@ + + +Light Media Scanner: lms_db_cache_entry Struct Reference + + + + + +
+

lms_db_cache_entry Struct Reference

#include <lightmediascanner_db_private.h> +

+ + + + + + + +

Data Fields

const sqlite3 * db
void * data
+


Detailed Description

+ +

Definition at line 57 of file lightmediascanner_db_private.h.

+

Field Documentation

+ +
+
+ + + + +
void* lms_db_cache_entry::data
+
+
+ +

+ +

Definition at line 59 of file lightmediascanner_db_private.h.

+ +

Referenced by lms_db_cache_add(), lms_db_cache_del(), and lms_db_cache_get().

+ +
+

+ +

+
+ + + + +
const sqlite3* lms_db_cache_entry::db
+
+
+ +

+ +

Definition at line 58 of file lightmediascanner_db_private.h.

+ +

Referenced by lms_db_cache_add().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__file__info.html b/www/api/structlms__file__info.html new file mode 100644 index 0000000..6fdd672 --- /dev/null +++ b/www/api/structlms__file__info.html @@ -0,0 +1,190 @@ + + +Light Media Scanner: lms_file_info Struct Reference + + + + + +
+

lms_file_info Struct Reference

#include <lightmediascanner_plugin.h> +

+ + + + + + + + + + + + + + + + + +

Data Fields

const char * path
int path_len
int base
int64_t id
time_t mtime
time_t dtime
size_t size
+


Detailed Description

+ +

Definition at line 145 of file lightmediascanner_plugin.h.

+

Field Documentation

+ +
+
+ + + + +
int lms_file_info::base
+
+
+ +

+index of basename inside path +

Definition at line 148 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_check_using().

+ +
+

+ +

+
+ + + + +
time_t lms_file_info::dtime
+
+
+ +

+deletion time +

Definition at line 151 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_db_get_file_info(), lms_db_insert_file_info(), lms_db_set_file_dtime(), and lms_db_update_file_info().

+ +
+

+ +

+ +

+
+ + + + +
time_t lms_file_info::mtime
+
+
+ +

+in-disk modification time +

Definition at line 150 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_db_get_file_info(), lms_db_insert_file_info(), and lms_db_update_file_info().

+ +
+

+ +

+
+ + + + +
const char* lms_file_info::path
+
+
+ +

+file path +

Definition at line 146 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_db_get_file_info(), lms_db_insert_file_info(), and lms_parsers_check_using().

+ +
+

+ +

+
+ + + + +
int lms_file_info::path_len
+
+
+ +

+path length +

Definition at line 147 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_db_get_file_info(), lms_db_insert_file_info(), and lms_parsers_check_using().

+ +
+

+ +

+
+ + + + +
size_t lms_file_info::size
+
+
+ +

+file size in bytes +

Definition at line 152 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_db_get_file_info(), lms_db_insert_file_info(), and lms_db_update_file_info().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__gps__info.html b/www/api/structlms__gps__info.html new file mode 100644 index 0000000..7bf8f15 --- /dev/null +++ b/www/api/structlms__gps__info.html @@ -0,0 +1,103 @@ + + +Light Media Scanner: lms_gps_info Struct Reference + + + + + +
+

lms_gps_info Struct Reference
+ +[DataBase-API] +

#include <lightmediascanner_db.h> +

+ + + + + + + + + +

Data Fields

double latitude
double longitude
double altitude
+


Detailed Description

+ +

Definition at line 61 of file lightmediascanner_db.h.

+

Field Documentation

+ +
+
+ + + + +
double lms_gps_info::altitude
+
+
+ +

+ +

Definition at line 64 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
double lms_gps_info::latitude
+
+
+ +

+ +

Definition at line 62 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
double lms_gps_info::longitude
+
+
+ +

+ +

Definition at line 63 of file lightmediascanner_db.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__image__info.html b/www/api/structlms__image__info.html new file mode 100644 index 0000000..79d84dc --- /dev/null +++ b/www/api/structlms__image__info.html @@ -0,0 +1,204 @@ + + +Light Media Scanner: lms_image_info Struct Reference + + + + + +
+

lms_image_info Struct Reference
+ +[DataBase-API] +

#include <lightmediascanner_db.h> +

+

+Collaboration diagram for lms_image_info:
+
+
[legend]
+ + + + + + + + + + + + + + + + + + + +

Data Fields

int64_t id
struct lms_string_size title
struct lms_string_size artist
unsigned int date
unsigned short width
unsigned short height
unsigned short orientation
struct lms_gps_info gps
+

Detailed Description

+ +

Definition at line 67 of file lightmediascanner_db.h.

+

Field Documentation

+ +
+
+ + + + +
struct lms_string_size lms_image_info::artist [read]
+
+
+ +

+ +

Definition at line 70 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
unsigned int lms_image_info::date
+
+
+ +

+ +

Definition at line 71 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_gps_info lms_image_info::gps [read]
+
+
+ +

+ +

Definition at line 75 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
unsigned short lms_image_info::height
+
+
+ +

+ +

Definition at line 73 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
int64_t lms_image_info::id
+
+
+ +

+ +

Definition at line 68 of file lightmediascanner_db.h.

+ +

Referenced by lms_db_image_add().

+ +
+

+ +

+
+ + + + +
unsigned short lms_image_info::orientation
+
+
+ +

+ +

Definition at line 74 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_image_info::title [read]
+
+
+ +

+ +

Definition at line 69 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
unsigned short lms_image_info::width
+
+
+ +

+ +

Definition at line 72 of file lightmediascanner_db.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__image__info__coll__graph.dot b/www/api/structlms__image__info__coll__graph.dot new file mode 100644 index 0000000..4e907a4 --- /dev/null +++ b/www/api/structlms__image__info__coll__graph.dot @@ -0,0 +1,11 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_image_info\n|+ id\l+ title\l+ artist\l+ date\l+ width\l+ height\l+ orientation\l+ gps\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="gps",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_gps_info\n|+ latitude\l+ longitude\l+ altitude\l|}",height=0.2,width=0.4,color="black",URL="$structlms__gps__info.html"]; + Node3 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="title\nartist",arrowtail="open",fontname="FreeSans"]; + Node3 [label="{lms_string_size\n|+ str\l+ len\l|}",height=0.2,width=0.4,color="black",URL="$structlms__string__size.html"]; +} diff --git a/www/api/structlms__image__info__coll__graph.md5 b/www/api/structlms__image__info__coll__graph.md5 new file mode 100644 index 0000000..78e6de1 --- /dev/null +++ b/www/api/structlms__image__info__coll__graph.md5 @@ -0,0 +1 @@ +f13cb7e7d1bb1ff78e8ff47835fb3199 \ No newline at end of file diff --git a/www/api/structlms__parser__info.html b/www/api/structlms__parser__info.html new file mode 100644 index 0000000..ce14ad7 --- /dev/null +++ b/www/api/structlms__parser__info.html @@ -0,0 +1,190 @@ + + +Light Media Scanner: lms_parser_info Struct Reference + + + + + +
+

lms_parser_info Struct Reference

#include <lightmediascanner.h> +

+ + + + + + + + + + + + + + + + + +

Data Fields

const char * path
const char * name
const char *const * categories
const char * description
const char * version
const char *const * authors
const char * uri
+


Detailed Description

+ +

Definition at line 198 of file lightmediascanner.h.

+

Field Documentation

+ +
+
+ + + + +
const char* const* lms_parser_info::authors
+
+
+ +

+ +

Definition at line 204 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* const* lms_parser_info::categories
+
+
+ +

+ +

Definition at line 201 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_parser_info::description
+
+
+ +

+ +

Definition at line 202 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_parser_info::name
+
+
+ +

+ +

Definition at line 200 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_parser_info::path
+
+
+ +

+ +

Definition at line 199 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_parser_info::uri
+
+
+ +

+ +

Definition at line 205 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_parser_info::version
+
+
+ +

+ +

Definition at line 203 of file lightmediascanner.h.

+ +

Referenced by lms_parser_info().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__playlist__info.html b/www/api/structlms__playlist__info.html new file mode 100644 index 0000000..36a83f7 --- /dev/null +++ b/www/api/structlms__playlist__info.html @@ -0,0 +1,109 @@ + + +Light Media Scanner: lms_playlist_info Struct Reference + + + + + +
+

lms_playlist_info Struct Reference
+ +[DataBase-API] +

#include <lightmediascanner_db.h> +

+

+Collaboration diagram for lms_playlist_info:
+
+
[legend]
+ + + + + + + + + +

Data Fields

int64_t id
struct lms_string_size title
unsigned int n_entries
+

Detailed Description

+ +

Definition at line 119 of file lightmediascanner_db.h.

+

Field Documentation

+ +
+
+ + + + +
int64_t lms_playlist_info::id
+
+
+ +

+ +

Definition at line 120 of file lightmediascanner_db.h.

+ +

Referenced by lms_db_playlist_add().

+ +
+

+ +

+
+ + + + +
unsigned int lms_playlist_info::n_entries
+
+
+ +

+ +

Definition at line 122 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_playlist_info::title [read]
+
+
+ +

+ +

Definition at line 121 of file lightmediascanner_db.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__playlist__info__coll__graph.dot b/www/api/structlms__playlist__info__coll__graph.dot new file mode 100644 index 0000000..d91a3c3 --- /dev/null +++ b/www/api/structlms__playlist__info__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_playlist_info\n|+ id\l+ title\l+ n_entries\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="title",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_string_size\n|+ str\l+ len\l|}",height=0.2,width=0.4,color="black",URL="$structlms__string__size.html"]; +} diff --git a/www/api/structlms__playlist__info__coll__graph.md5 b/www/api/structlms__playlist__info__coll__graph.md5 new file mode 100644 index 0000000..3136bd9 --- /dev/null +++ b/www/api/structlms__playlist__info__coll__graph.md5 @@ -0,0 +1 @@ +b7a20514412cb022593278aa681c52a1 \ No newline at end of file diff --git a/www/api/structlms__plugin.html b/www/api/structlms__plugin.html new file mode 100644 index 0000000..8103bbe --- /dev/null +++ b/www/api/structlms__plugin.html @@ -0,0 +1,188 @@ + + +Light Media Scanner: lms_plugin Struct Reference + + + + + +
+

lms_plugin Struct Reference

#include <lightmediascanner_plugin.h> +

+ + + + + + + + + + + + + + + + + +

Data Fields

const char * name
lms_plugin_match_fn_t match
lms_plugin_parse_fn_t parse
lms_plugin_close_fn_t close
lms_plugin_setup_fn_t setup
lms_plugin_start_fn_t start
lms_plugin_finish_fn_t finish
+


Detailed Description

+ +

Definition at line 167 of file lightmediascanner_plugin.h.

+

Field Documentation

+ +
+ +
+ +

+close plugin +

Definition at line 171 of file lightmediascanner_plugin.h.

+ +
+

+ +

+ +
+ +

+finish plugin +

Definition at line 174 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_finish(), lms_parsers_setup(), and lms_parsers_start().

+ +
+

+ +

+ +
+ +

+check match +

Definition at line 169 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_check_using().

+ +
+

+ +

+
+ + + + +
const char* lms_plugin::name
+
+
+ +

+plugin name +

Definition at line 168 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_finish(), lms_parsers_setup(), and lms_parsers_start().

+ +
+

+ +

+ +
+ +

+parse matched file +

Definition at line 170 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_run().

+ +
+

+ +

+ +
+ +

+setup (1st phase init) +

Definition at line 172 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_setup().

+ +
+

+ +

+ +
+ +

+start (2nd phase init) +

Definition at line 173 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parsers_start().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__plugin__info.html b/www/api/structlms__plugin__info.html new file mode 100644 index 0000000..e909787 --- /dev/null +++ b/www/api/structlms__plugin__info.html @@ -0,0 +1,169 @@ + + +Light Media Scanner: lms_plugin_info Struct Reference + + + + + +
+

lms_plugin_info Struct Reference

#include <lightmediascanner_plugin.h> +

+ + + + + + + + + + + + + + + +

Data Fields

const char * name
const char *const * categories
const char * description
const char * version
const char *const * authors
const char * uri
+


Detailed Description

+ +

Definition at line 177 of file lightmediascanner_plugin.h.

+

Field Documentation

+ +
+
+ + + + +
const char* const* lms_plugin_info::authors
+
+
+ +

+NULL-terminated author array +

Definition at line 182 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* const* lms_plugin_info::categories
+
+
+ +

+NULL-terminated categories array +

Definition at line 179 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_plugin_info::description
+
+
+ +

+free text description +

Definition at line 180 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_plugin_info::name
+
+
+ +

+plugin name, should be same as lms_plugin +

Definition at line 178 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_plugin_info::uri
+
+
+ +

+how to find who wrote it (bug reports, etc) +

Definition at line 183 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+ +

+
+ + + + +
const char* lms_plugin_info::version
+
+
+ +

+version string +

Definition at line 181 of file lightmediascanner_plugin.h.

+ +

Referenced by lms_parser_info().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__string__size.html b/www/api/structlms__string__size.html new file mode 100644 index 0000000..9571459 --- /dev/null +++ b/www/api/structlms__string__size.html @@ -0,0 +1,85 @@ + + +Light Media Scanner: lms_string_size Struct Reference + + + + + +
+

lms_string_size Struct Reference

#include <lightmediascanner_utils.h> +

+ + + + + + + +

Data Fields

char * str
unsigned int len
+


Detailed Description

+ +

Definition at line 49 of file lightmediascanner_utils.h.

+

Field Documentation

+ +
+
+ + + + +
unsigned int lms_string_size::len
+
+
+ +

+ +

Definition at line 51 of file lightmediascanner_utils.h.

+ +

Referenced by lms_string_size_strip_and_free().

+ +
+

+ +

+
+ + + + +
char* lms_string_size::str
+
+
+ +

+ +

Definition at line 50 of file lightmediascanner_utils.h.

+ +

Referenced by lms_string_size_strip_and_free(), and lms_which_extension().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__video__info.html b/www/api/structlms__video__info.html new file mode 100644 index 0000000..ab5692e --- /dev/null +++ b/www/api/structlms__video__info.html @@ -0,0 +1,109 @@ + + +Light Media Scanner: lms_video_info Struct Reference + + + + + +
+

lms_video_info Struct Reference
+ +[DataBase-API] +

#include <lightmediascanner_db.h> +

+

+Collaboration diagram for lms_video_info:
+
+
[legend]
+ + + + + + + + + +

Data Fields

int64_t id
struct lms_string_size title
struct lms_string_size artist
+

Detailed Description

+ +

Definition at line 105 of file lightmediascanner_db.h.

+

Field Documentation

+ +
+
+ + + + +
struct lms_string_size lms_video_info::artist [read]
+
+
+ +

+ +

Definition at line 108 of file lightmediascanner_db.h.

+ +
+

+ +

+
+ + + + +
int64_t lms_video_info::id
+
+
+ +

+ +

Definition at line 106 of file lightmediascanner_db.h.

+ +

Referenced by lms_db_video_add().

+ +
+

+ +

+
+ + + + +
struct lms_string_size lms_video_info::title [read]
+
+
+ +

+ +

Definition at line 107 of file lightmediascanner_db.h.

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structlms__video__info__coll__graph.dot b/www/api/structlms__video__info__coll__graph.dot new file mode 100644 index 0000000..e09cf5a --- /dev/null +++ b/www/api/structlms__video__info__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{lms_video_info\n|+ id\l+ title\l+ artist\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="title\nartist",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_string_size\n|+ str\l+ len\l|}",height=0.2,width=0.4,color="black",URL="$structlms__string__size.html"]; +} diff --git a/www/api/structlms__video__info__coll__graph.md5 b/www/api/structlms__video__info__coll__graph.md5 new file mode 100644 index 0000000..dd83e5f --- /dev/null +++ b/www/api/structlms__video__info__coll__graph.md5 @@ -0,0 +1 @@ +78962464673adb7a2530d7a11a7ee9cf \ No newline at end of file diff --git a/www/api/structparser.html b/www/api/structparser.html new file mode 100644 index 0000000..af0402c --- /dev/null +++ b/www/api/structparser.html @@ -0,0 +1,108 @@ + + +Light Media Scanner: parser Struct Reference + + + + + +
+

parser Struct Reference

#include <lightmediascanner_private.h> +

+

+Collaboration diagram for parser:
+
+
[legend]
+ + + + + + + + + +

Data Fields

lms_plugin_tplugin
void * dl_handle
char * so_path
+

Detailed Description

+ +

Definition at line 70 of file lightmediascanner_private.h.

+

Field Documentation

+ +
+
+ + + + +
void* parser::dl_handle
+
+
+ +

+ +

Definition at line 72 of file lightmediascanner_private.h.

+ +
+

+ +

+ +

+
+ + + + +
char* parser::so_path
+
+
+ +

+ +

Definition at line 73 of file lightmediascanner_private.h.

+ +

Referenced by lms_parser_find_and_add().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structparser__coll__graph.dot b/www/api/structparser__coll__graph.dot new file mode 100644 index 0000000..e42e497 --- /dev/null +++ b/www/api/structparser__coll__graph.dot @@ -0,0 +1,9 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{parser\n|+ plugin\l+ dl_handle\l+ so_path\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="plugin",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{lms_plugin\n|+ name\l+ match\l+ parse\l+ close\l+ setup\l+ start\l+ finish\l|}",height=0.2,width=0.4,color="black",URL="$structlms__plugin.html"]; +} diff --git a/www/api/structparser__coll__graph.md5 b/www/api/structparser__coll__graph.md5 new file mode 100644 index 0000000..2150600 --- /dev/null +++ b/www/api/structparser__coll__graph.md5 @@ -0,0 +1 @@ +e7397971eaf726aff289a61b6f99e28e \ No newline at end of file diff --git a/www/api/structpinfo.html b/www/api/structpinfo.html new file mode 100644 index 0000000..a3a40aa --- /dev/null +++ b/www/api/structpinfo.html @@ -0,0 +1,152 @@ + + +Light Media Scanner: pinfo Struct Reference + + + + + +
+

pinfo Struct Reference

#include <lightmediascanner_private.h> +

+

+Collaboration diagram for pinfo:
+
+
[legend]
+ + + + + + + + + + + + + +

Data Fields

struct cinfo common
pid_t child
struct fds master
struct fds slave
struct pollfd poll
+

Detailed Description

+ +

Definition at line 54 of file lightmediascanner_private.h.

+

Field Documentation

+ +
+
+ + + + +
pid_t pinfo::child
+
+
+ +

+ +

Definition at line 56 of file lightmediascanner_private.h.

+ +

Referenced by lms_create_slave(), lms_finish_slave(), and lms_restart_slave().

+ +
+

+ +

+
+ + + + +
struct cinfo pinfo::common [read]
+
+
+ +

+ +

Definition at line 55 of file lightmediascanner_private.h.

+ +

Referenced by lms_check(), lms_create_slave(), and lms_process().

+ +
+

+ +

+
+ + + + +
struct fds pinfo::master [read]
+
+
+ +

+ +

Definition at line 57 of file lightmediascanner_private.h.

+ +

Referenced by lms_close_pipes(), lms_create_pipes(), lms_create_slave(), and lms_finish_slave().

+ +
+

+ +

+
+ + + + +
struct pollfd pinfo::poll [read]
+
+
+ +

+ +

Definition at line 59 of file lightmediascanner_private.h.

+ +

Referenced by lms_create_pipes(), and lms_restart_slave().

+ +
+

+ +

+
+ + + + +
struct fds pinfo::slave [read]
+
+
+ +

+ +

Definition at line 58 of file lightmediascanner_private.h.

+ +

Referenced by lms_close_pipes(), lms_create_pipes(), and lms_create_slave().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structpinfo__coll__graph.dot b/www/api/structpinfo__coll__graph.dot new file mode 100644 index 0000000..179d231 --- /dev/null +++ b/www/api/structpinfo__coll__graph.dot @@ -0,0 +1,19 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{pinfo\n|+ common\l+ child\l+ master\l+ slave\l+ poll\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="common",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{cinfo\n|+ lms\l|}",height=0.2,width=0.4,color="black",URL="$structcinfo.html"]; + Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="lms",arrowtail="open",fontname="FreeSans"]; + Node3 [label="{lms\n|+ parsers\l+ n_parsers\l+ cs_conv\l+ db_path\l+ slave_timeout\l+ cb\l+ data\l+ free_data\l+ progress\l+ commit_interval\l+ is_processing\l+ stop_processing\l|}",height=0.2,width=0.4,color="black",URL="$structlms.html"]; + Node4 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="cs_conv",arrowtail="open",fontname="FreeSans"]; + Node4 [label="{lms_charset_conv\n|+ check\l+ fallback\l+ size\l+ convs\l+ names\l|}",height=0.2,width=0.4,color="grey75"]; + Node5 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="parsers",arrowtail="open",fontname="FreeSans"]; + Node5 [label="{parser\n|+ plugin\l+ dl_handle\l+ so_path\l|}",height=0.2,width=0.4,color="black",URL="$structparser.html"]; + Node6 -> Node5 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="plugin",arrowtail="open",fontname="FreeSans"]; + Node6 [label="{lms_plugin\n|+ name\l+ match\l+ parse\l+ close\l+ setup\l+ start\l+ finish\l|}",height=0.2,width=0.4,color="black",URL="$structlms__plugin.html"]; + Node7 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="slave\nmaster",arrowtail="open",fontname="FreeSans"]; + Node7 [label="{fds\n|+ r\l+ w\l|}",height=0.2,width=0.4,color="black",URL="$structfds.html"]; +} diff --git a/www/api/structpinfo__coll__graph.md5 b/www/api/structpinfo__coll__graph.md5 new file mode 100644 index 0000000..a298e0c --- /dev/null +++ b/www/api/structpinfo__coll__graph.md5 @@ -0,0 +1 @@ +774bb858e0f8d60477c1f6669828444c \ No newline at end of file diff --git a/www/api/structsinfo.html b/www/api/structsinfo.html new file mode 100644 index 0000000..8c6d8d4 --- /dev/null +++ b/www/api/structsinfo.html @@ -0,0 +1,131 @@ + + +Light Media Scanner: sinfo Struct Reference + + + + + +
+

sinfo Struct Reference

#include <lightmediascanner_private.h> +

+

+Collaboration diagram for sinfo:
+
+
[legend]
+ + + + + + + + + + + +

Data Fields

struct cinfo common
struct dbdb
void ** parser_match
int commit_counter
+

Detailed Description

+ +

Definition at line 63 of file lightmediascanner_private.h.

+

Field Documentation

+ +
+
+ + + + +
int sinfo::commit_counter
+
+
+ +

+ +

Definition at line 67 of file lightmediascanner_private.h.

+ +

Referenced by lms_check_single_process(), and lms_process_single_process().

+ +
+

+ +

+
+ + + + +
struct cinfo sinfo::common [read]
+
+
+ +

+ +

Definition at line 64 of file lightmediascanner_private.h.

+ +

Referenced by lms_check_single_process(), and lms_process_single_process().

+ +
+

+ +

+
+ + + + +
struct db* sinfo::db [read]
+
+
+ +

+ +

Definition at line 65 of file lightmediascanner_private.h.

+ +

Referenced by lms_process_single_process().

+ +
+

+ +

+
+ + + + +
void** sinfo::parser_match
+
+
+ +

+ +

Definition at line 66 of file lightmediascanner_private.h.

+ +

Referenced by lms_process_single_process().

+ +
+

+


The documentation for this struct was generated from the following file: +
+
Generated on Wed Apr 22 23:56:01 2009 for Light Media Scanner by  + +doxygen 1.5.8
+ + diff --git a/www/api/structsinfo__coll__graph.dot b/www/api/structsinfo__coll__graph.dot new file mode 100644 index 0000000..8366a6c --- /dev/null +++ b/www/api/structsinfo__coll__graph.dot @@ -0,0 +1,19 @@ +digraph G +{ + bgcolor="transparent"; + edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; + node [fontname="FreeSans",fontsize="10",shape=record]; + Node1 [label="{sinfo\n|+ common\l+ db\l+ parser_match\l+ commit_counter\l|}",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled" fontcolor="black"]; + Node2 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="common",arrowtail="open",fontname="FreeSans"]; + Node2 [label="{cinfo\n|+ lms\l|}",height=0.2,width=0.4,color="black",URL="$structcinfo.html"]; + Node3 -> Node2 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="lms",arrowtail="open",fontname="FreeSans"]; + Node3 [label="{lms\n|+ parsers\l+ n_parsers\l+ cs_conv\l+ db_path\l+ slave_timeout\l+ cb\l+ data\l+ free_data\l+ progress\l+ commit_interval\l+ is_processing\l+ stop_processing\l|}",height=0.2,width=0.4,color="black",URL="$structlms.html"]; + Node4 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="cs_conv",arrowtail="open",fontname="FreeSans"]; + Node4 [label="{lms_charset_conv\n|+ check\l+ fallback\l+ size\l+ convs\l+ names\l|}",height=0.2,width=0.4,color="grey75"]; + Node5 -> Node3 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="parsers",arrowtail="open",fontname="FreeSans"]; + Node5 [label="{parser\n|+ plugin\l+ dl_handle\l+ so_path\l|}",height=0.2,width=0.4,color="black",URL="$structparser.html"]; + Node6 -> Node5 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="plugin",arrowtail="open",fontname="FreeSans"]; + Node6 [label="{lms_plugin\n|+ name\l+ match\l+ parse\l+ close\l+ setup\l+ start\l+ finish\l|}",height=0.2,width=0.4,color="black",URL="$structlms__plugin.html"]; + Node7 -> Node1 [dir=back,color="darkorchid3",fontsize="10",style="dashed",label="db",arrowtail="open",fontname="FreeSans"]; + Node7 [label="{db\n|+ handle\l+ transaction_begin\l+ transaction_commit\l+ get_file_info\l+ insert_file_info\l+ update_file_info\l+ delete_file_info\l+ set_file_dtime\l|}",height=0.2,width=0.4,color="grey75"]; +} diff --git a/www/api/structsinfo__coll__graph.md5 b/www/api/structsinfo__coll__graph.md5 new file mode 100644 index 0000000..8a1c217 --- /dev/null +++ b/www/api/structsinfo__coll__graph.md5 @@ -0,0 +1 @@ +4b1285d521896edc3e963f2af3806bbb \ No newline at end of file diff --git a/www/api/tab_b.gif b/www/api/tab_b.gif new file mode 100644 index 0000000..0d62348 Binary files /dev/null and b/www/api/tab_b.gif differ diff --git a/www/api/tab_l.gif b/www/api/tab_l.gif new file mode 100644 index 0000000..9b1e633 Binary files /dev/null and b/www/api/tab_l.gif differ diff --git a/www/api/tab_r.gif b/www/api/tab_r.gif new file mode 100644 index 0000000..ce9dd9f Binary files /dev/null and b/www/api/tab_r.gif differ diff --git a/www/api/tabs.css b/www/api/tabs.css new file mode 100644 index 0000000..ab02c62 --- /dev/null +++ b/www/api/tabs.css @@ -0,0 +1,105 @@ +/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ + +DIV.tabs +{ + float : left; + width : 100%; + background : url("tab_b.gif") repeat-x bottom; + margin-bottom : 4px; +} + +DIV.tabs UL +{ + margin : 0px; + padding-left : 10px; + list-style : none; +} + +DIV.tabs LI, DIV.tabs FORM +{ + display : inline; + margin : 0px; + padding : 0px; +} + +DIV.tabs FORM +{ + float : right; +} + +DIV.tabs A +{ + float : left; + background : url("tab_r.gif") no-repeat right top; + border-bottom : 1px solid #84B0C7; + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + +DIV.tabs A:hover +{ + background-position: 100% -150px; +} + +DIV.tabs A:link, DIV.tabs A:visited, +DIV.tabs A:active, DIV.tabs A:hover +{ + color: #1A419D; +} + +DIV.tabs SPAN +{ + float : left; + display : block; + background : url("tab_l.gif") no-repeat left top; + padding : 5px 9px; + white-space : nowrap; +} + +DIV.tabs INPUT +{ + float : right; + display : inline; + font-size : 1em; +} + +DIV.tabs TD +{ + font-size : 80%; + font-weight : bold; + text-decoration : none; +} + + + +/* Commented Backslash Hack hides rule from IE5-Mac \*/ +DIV.tabs SPAN {float : none;} +/* End IE5-Mac hack */ + +DIV.tabs A:hover SPAN +{ + background-position: 0% -150px; +} + +DIV.tabs LI.current A +{ + background-position: 100% -150px; + border-width : 0px; +} + +DIV.tabs LI.current SPAN +{ + background-position: 0% -150px; + padding-bottom : 6px; +} + +DIV.navpath +{ + background : none; + border : none; + border-bottom : 1px solid #84B0C7; + text-align : center; + margin : 2px; + padding : 2px; +} diff --git a/www/python-api/api-objects.txt b/www/python-api/api-objects.txt new file mode 100644 index 0000000..7adf9fe --- /dev/null +++ b/www/python-api/api-objects.txt @@ -0,0 +1,62 @@ +lightmediascanner lightmediascanner-module.html +lightmediascanner.LMS_PROGRESS_STATUS_UP_TO_DATE lightmediascanner-module.html#LMS_PROGRESS_STATUS_UP_TO_DATE +lightmediascanner.LMS_PROGRESS_STATUS_PROCESSED lightmediascanner-module.html#LMS_PROGRESS_STATUS_PROCESSED +lightmediascanner.LMS_PROGRESS_STATUS_ERROR_PARSE lightmediascanner-module.html#LMS_PROGRESS_STATUS_ERROR_PARSE +lightmediascanner.__package__ lightmediascanner-module.html#__package__ +lightmediascanner.LMS_PROGRESS_STATUS_KILLED lightmediascanner-module.html#LMS_PROGRESS_STATUS_KILLED +lightmediascanner.LMS_PROGRESS_STATUS_ERROR_COMM lightmediascanner-module.html#LMS_PROGRESS_STATUS_ERROR_COMM +lightmediascanner.LMS_PROGRESS_STATUS_SKIPPED lightmediascanner-module.html#LMS_PROGRESS_STATUS_SKIPPED +lightmediascanner.LMS_PROGRESS_STATUS_DELETED lightmediascanner-module.html#LMS_PROGRESS_STATUS_DELETED +lightmediascanner.c_lightmediascanner lightmediascanner.c_lightmediascanner-module.html +lightmediascanner.c_lightmediascanner.parser_info lightmediascanner.c_lightmediascanner-module.html#parser_info +lightmediascanner.c_lightmediascanner.parsers_list_by_category lightmediascanner.c_lightmediascanner-module.html#parsers_list_by_category +lightmediascanner.c_lightmediascanner.parser_info_find lightmediascanner.c_lightmediascanner-module.html#parser_info_find +lightmediascanner.c_lightmediascanner.parsers_list lightmediascanner.c_lightmediascanner-module.html#parsers_list +lightmediascanner.c_lightmediascanner.__package__ lightmediascanner.c_lightmediascanner-module.html#__package__ +lightmediascanner.c_lightmediascanner.__bootstrap__ lightmediascanner.c_lightmediascanner-module.html#__bootstrap__ +lightmediascanner.c_lightmediascanner.LightMediaScanner lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html +lightmediascanner.c_lightmediascanner.LightMediaScanner.process lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#process +lightmediascanner.c_lightmediascanner.LightMediaScanner.set_slave_timeout lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#set_slave_timeout +lightmediascanner.c_lightmediascanner.LightMediaScanner.__str__ lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#__str__ +lightmediascanner.c_lightmediascanner.LightMediaScanner.commit_interval lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#commit_interval +lightmediascanner.c_lightmediascanner.LightMediaScanner.parsers lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#parsers +lightmediascanner.c_lightmediascanner.LightMediaScanner.check lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#check +lightmediascanner.c_lightmediascanner.LightMediaScanner.__init__ lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#__init__ +lightmediascanner.c_lightmediascanner.LightMediaScanner.get_commit_interval lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#get_commit_interval +lightmediascanner.c_lightmediascanner.LightMediaScanner.__new__ lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#__new__ +lightmediascanner.c_lightmediascanner.LightMediaScanner.slave_timeout lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#slave_timeout +lightmediascanner.c_lightmediascanner.LightMediaScanner.process_single_process lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#process_single_process +lightmediascanner.c_lightmediascanner.LightMediaScanner.stop_processing lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#stop_processing +lightmediascanner.c_lightmediascanner.LightMediaScanner.set_progress_callback lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#set_progress_callback +lightmediascanner.c_lightmediascanner.LightMediaScanner.charset_add lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#charset_add +lightmediascanner.c_lightmediascanner.LightMediaScanner.get_slave_timeout lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#get_slave_timeout +lightmediascanner.c_lightmediascanner.LightMediaScanner.is_processing lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#is_processing +lightmediascanner.c_lightmediascanner.LightMediaScanner.db_path lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#db_path +lightmediascanner.c_lightmediascanner.LightMediaScanner.charset_del lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#charset_del +lightmediascanner.c_lightmediascanner.LightMediaScanner.parser_add lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#parser_add +lightmediascanner.c_lightmediascanner.LightMediaScanner.parsers_clear lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#parsers_clear +lightmediascanner.c_lightmediascanner.LightMediaScanner.parser_find_and_add lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#parser_find_and_add +lightmediascanner.c_lightmediascanner.LightMediaScanner.parser_del lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#parser_del +lightmediascanner.c_lightmediascanner.LightMediaScanner.set_commit_interval lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#set_commit_interval +lightmediascanner.c_lightmediascanner.LightMediaScanner.check_single_process lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#check_single_process +lightmediascanner.c_lightmediascanner.LightMediaScanner.__repr__ lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#__repr__ +lightmediascanner.c_lightmediascanner.LightMediaScanner.delete lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html#delete +lightmediascanner.c_lightmediascanner.Parser lightmediascanner.c_lightmediascanner.Parser-class.html +lightmediascanner.c_lightmediascanner.Parser.__new__ lightmediascanner.c_lightmediascanner.Parser-class.html#__new__ +lightmediascanner.c_lightmediascanner.Parser.__str__ lightmediascanner.c_lightmediascanner.Parser-class.html#__str__ +lightmediascanner.c_lightmediascanner.Parser.name lightmediascanner.c_lightmediascanner.Parser-class.html#name +lightmediascanner.c_lightmediascanner.Parser.__repr__ lightmediascanner.c_lightmediascanner.Parser-class.html#__repr__ +lightmediascanner.c_lightmediascanner.Parser.delete lightmediascanner.c_lightmediascanner.Parser-class.html#delete +lightmediascanner.c_lightmediascanner.Parser.__init__ lightmediascanner.c_lightmediascanner.Parser-class.html#__init__ +lightmediascanner.c_lightmediascanner.Parser.scanner lightmediascanner.c_lightmediascanner.Parser-class.html#scanner +lightmediascanner.c_lightmediascanner.ParserInfo lightmediascanner.c_lightmediascanner.ParserInfo-class.html +lightmediascanner.c_lightmediascanner.ParserInfo.__new__ lightmediascanner.c_lightmediascanner.ParserInfo-class.html#__new__ +lightmediascanner.c_lightmediascanner.ParserInfo.__str__ lightmediascanner.c_lightmediascanner.ParserInfo-class.html#__str__ +lightmediascanner.c_lightmediascanner.ParserInfo.uri lightmediascanner.c_lightmediascanner.ParserInfo-class.html#uri +lightmediascanner.c_lightmediascanner.ParserInfo.name lightmediascanner.c_lightmediascanner.ParserInfo-class.html#name +lightmediascanner.c_lightmediascanner.ParserInfo.version lightmediascanner.c_lightmediascanner.ParserInfo-class.html#version +lightmediascanner.c_lightmediascanner.ParserInfo.categories lightmediascanner.c_lightmediascanner.ParserInfo-class.html#categories +lightmediascanner.c_lightmediascanner.ParserInfo.authors lightmediascanner.c_lightmediascanner.ParserInfo-class.html#authors +lightmediascanner.c_lightmediascanner.ParserInfo.path lightmediascanner.c_lightmediascanner.ParserInfo-class.html#path +lightmediascanner.c_lightmediascanner.ParserInfo.__init__ lightmediascanner.c_lightmediascanner.ParserInfo-class.html#__init__ +lightmediascanner.c_lightmediascanner.ParserInfo.description lightmediascanner.c_lightmediascanner.ParserInfo-class.html#description diff --git a/www/python-api/class-tree.html b/www/python-api/class-tree.html new file mode 100644 index 0000000..97ad3eb --- /dev/null +++ b/www/python-api/class-tree.html @@ -0,0 +1,125 @@ + + + + + Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + +
[hide private]
[frames] | no frames]
+
+
+ [ Module Hierarchy + | Class Hierarchy ] +

+

Class Hierarchy

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/crarr.png b/www/python-api/crarr.png new file mode 100644 index 0000000..26b43c5 Binary files /dev/null and b/www/python-api/crarr.png differ diff --git a/www/python-api/epydoc.css b/www/python-api/epydoc.css new file mode 100644 index 0000000..86d4170 --- /dev/null +++ b/www/python-api/epydoc.css @@ -0,0 +1,322 @@ + + +/* Epydoc CSS Stylesheet + * + * This stylesheet can be used to customize the appearance of epydoc's + * HTML output. + * + */ + +/* Default Colors & Styles + * - Set the default foreground & background color with 'body'; and + * link colors with 'a:link' and 'a:visited'. + * - Use bold for decision list terms. + * - The heading styles defined here are used for headings *within* + * docstring descriptions. All headings used by epydoc itself use + * either class='epydoc' or class='toc' (CSS styles for both + * defined below). + */ +body { background: #ffffff; color: #000000; } +p { margin-top: 0.5em; margin-bottom: 0.5em; } +a:link { color: #0000ff; } +a:visited { color: #204080; } +dt { font-weight: bold; } +h1 { font-size: +140%; font-style: italic; + font-weight: bold; } +h2 { font-size: +125%; font-style: italic; + font-weight: bold; } +h3 { font-size: +110%; font-style: italic; + font-weight: normal; } +code { font-size: 100%; } +/* N.B.: class, not pseudoclass */ +a.link { font-family: monospace; } + +/* Page Header & Footer + * - The standard page header consists of a navigation bar (with + * pointers to standard pages such as 'home' and 'trees'); a + * breadcrumbs list, which can be used to navigate to containing + * classes or modules; options links, to show/hide private + * variables and to show/hide frames; and a page title (using + *

). The page title may be followed by a link to the + * corresponding source code (using 'span.codelink'). + * - The footer consists of a navigation bar, a timestamp, and a + * pointer to epydoc's homepage. + */ +h1.epydoc { margin: 0; font-size: +140%; font-weight: bold; } +h2.epydoc { font-size: +130%; font-weight: bold; } +h3.epydoc { font-size: +115%; font-weight: bold; + margin-top: 0.2em; } +td h3.epydoc { font-size: +115%; font-weight: bold; + margin-bottom: 0; } +table.navbar { background: #a0c0ff; color: #000000; + border: 2px groove #c0d0d0; } +table.navbar table { color: #000000; } +th.navbar-select { background: #70b0ff; + color: #000000; } +table.navbar a { text-decoration: none; } +table.navbar a:link { color: #0000ff; } +table.navbar a:visited { color: #204080; } +span.breadcrumbs { font-size: 85%; font-weight: bold; } +span.options { font-size: 70%; } +span.codelink { font-size: 85%; } +td.footer { font-size: 85%; } + +/* Table Headers + * - Each summary table and details section begins with a 'header' + * row. This row contains a section title (marked by + * 'span.table-header') as well as a show/hide private link + * (marked by 'span.options', defined above). + * - Summary tables that contain user-defined groups mark those + * groups using 'group header' rows. + */ +td.table-header { background: #70b0ff; color: #000000; + border: 1px solid #608090; } +td.table-header table { color: #000000; } +td.table-header table a:link { color: #0000ff; } +td.table-header table a:visited { color: #204080; } +span.table-header { font-size: 120%; font-weight: bold; } +th.group-header { background: #c0e0f8; color: #000000; + text-align: left; font-style: italic; + font-size: 115%; + border: 1px solid #608090; } + +/* Summary Tables (functions, variables, etc) + * - Each object is described by a single row of the table with + * two cells. The left cell gives the object's type, and is + * marked with 'code.summary-type'. The right cell gives the + * object's name and a summary description. + * - CSS styles for the table's header and group headers are + * defined above, under 'Table Headers' + */ +table.summary { border-collapse: collapse; + background: #e8f0f8; color: #000000; + border: 1px solid #608090; + margin-bottom: 0.5em; } +td.summary { border: 1px solid #608090; } +code.summary-type { font-size: 85%; } +table.summary a:link { color: #0000ff; } +table.summary a:visited { color: #204080; } + + +/* Details Tables (functions, variables, etc) + * - Each object is described in its own div. + * - A single-row summary table w/ table-header is used as + * a header for each details section (CSS style for table-header + * is defined above, under 'Table Headers'). + */ +table.details { border-collapse: collapse; + background: #e8f0f8; color: #000000; + border: 1px solid #608090; + margin: .2em 0 0 0; } +table.details table { color: #000000; } +table.details a:link { color: #0000ff; } +table.details a:visited { color: #204080; } + +/* Fields */ +dl.fields { margin-left: 2em; margin-top: 1em; + margin-bottom: 1em; } +dl.fields dd ul { margin-left: 0em; padding-left: 0em; } +dl.fields dd ul li ul { margin-left: 2em; padding-left: 0em; } +div.fields { margin-left: 2em; } +div.fields p { margin-bottom: 0.5em; } + +/* Index tables (identifier index, term index, etc) + * - link-index is used for indices containing lists of links + * (namely, the identifier index & term index). + * - index-where is used in link indices for the text indicating + * the container/source for each link. + * - metadata-index is used for indices containing metadata + * extracted from fields (namely, the bug index & todo index). + */ +table.link-index { border-collapse: collapse; + background: #e8f0f8; color: #000000; + border: 1px solid #608090; } +td.link-index { border-width: 0px; } +table.link-index a:link { color: #0000ff; } +table.link-index a:visited { color: #204080; } +span.index-where { font-size: 70%; } +table.metadata-index { border-collapse: collapse; + background: #e8f0f8; color: #000000; + border: 1px solid #608090; + margin: .2em 0 0 0; } +td.metadata-index { border-width: 1px; border-style: solid; } +table.metadata-index a:link { color: #0000ff; } +table.metadata-index a:visited { color: #204080; } + +/* Function signatures + * - sig* is used for the signature in the details section. + * - .summary-sig* is used for the signature in the summary + * table, and when listing property accessor functions. + * */ +.sig-name { color: #006080; } +.sig-arg { color: #008060; } +.sig-default { color: #602000; } +.summary-sig { font-family: monospace; } +.summary-sig-name { color: #006080; font-weight: bold; } +table.summary a.summary-sig-name:link + { color: #006080; font-weight: bold; } +table.summary a.summary-sig-name:visited + { color: #006080; font-weight: bold; } +.summary-sig-arg { color: #006040; } +.summary-sig-default { color: #501800; } + +/* Subclass list + */ +ul.subclass-list { display: inline; } +ul.subclass-list li { display: inline; } + +/* To render variables, classes etc. like functions */ +table.summary .summary-name { color: #006080; font-weight: bold; + font-family: monospace; } +table.summary + a.summary-name:link { color: #006080; font-weight: bold; + font-family: monospace; } +table.summary + a.summary-name:visited { color: #006080; font-weight: bold; + font-family: monospace; } + +/* Variable values + * - In the 'variable details' sections, each varaible's value is + * listed in a 'pre.variable' box. The width of this box is + * restricted to 80 chars; if the value's repr is longer than + * this it will be wrapped, using a backslash marked with + * class 'variable-linewrap'. If the value's repr is longer + * than 3 lines, the rest will be ellided; and an ellipsis + * marker ('...' marked with 'variable-ellipsis') will be used. + * - If the value is a string, its quote marks will be marked + * with 'variable-quote'. + * - If the variable is a regexp, it is syntax-highlighted using + * the re* CSS classes. + */ +pre.variable { padding: .5em; margin: 0; + background: #dce4ec; color: #000000; + border: 1px solid #708890; } +.variable-linewrap { color: #604000; font-weight: bold; } +.variable-ellipsis { color: #604000; font-weight: bold; } +.variable-quote { color: #604000; font-weight: bold; } +.variable-group { color: #008000; font-weight: bold; } +.variable-op { color: #604000; font-weight: bold; } +.variable-string { color: #006030; } +.variable-unknown { color: #a00000; font-weight: bold; } +.re { color: #000000; } +.re-char { color: #006030; } +.re-op { color: #600000; } +.re-group { color: #003060; } +.re-ref { color: #404040; } + +/* Base tree + * - Used by class pages to display the base class hierarchy. + */ +pre.base-tree { font-size: 80%; margin: 0; } + +/* Frames-based table of contents headers + * - Consists of two frames: one for selecting modules; and + * the other listing the contents of the selected module. + * - h1.toc is used for each frame's heading + * - h2.toc is used for subheadings within each frame. + */ +h1.toc { text-align: center; font-size: 105%; + margin: 0; font-weight: bold; + padding: 0; } +h2.toc { font-size: 100%; font-weight: bold; + margin: 0.5em 0 0 -0.3em; } + +/* Syntax Highlighting for Source Code + * - doctest examples are displayed in a 'pre.py-doctest' block. + * If the example is in a details table entry, then it will use + * the colors specified by the 'table pre.py-doctest' line. + * - Source code listings are displayed in a 'pre.py-src' block. + * Each line is marked with 'span.py-line' (used to draw a line + * down the left margin, separating the code from the line + * numbers). Line numbers are displayed with 'span.py-lineno'. + * The expand/collapse block toggle button is displayed with + * 'a.py-toggle' (Note: the CSS style for 'a.py-toggle' should not + * modify the font size of the text.) + * - If a source code page is opened with an anchor, then the + * corresponding code block will be highlighted. The code + * block's header is highlighted with 'py-highlight-hdr'; and + * the code block's body is highlighted with 'py-highlight'. + * - The remaining py-* classes are used to perform syntax + * highlighting (py-string for string literals, py-name for names, + * etc.) + */ +pre.py-doctest { padding: .5em; margin: 1em; + background: #e8f0f8; color: #000000; + border: 1px solid #708890; } +table pre.py-doctest { background: #dce4ec; + color: #000000; } +pre.py-src { border: 2px solid #000000; + background: #f0f0f0; color: #000000; } +.py-line { border-left: 2px solid #000000; + margin-left: .2em; padding-left: .4em; } +.py-lineno { font-style: italic; font-size: 90%; + padding-left: .5em; } +a.py-toggle { text-decoration: none; } +div.py-highlight-hdr { border-top: 2px solid #000000; + border-bottom: 2px solid #000000; + background: #d8e8e8; } +div.py-highlight { border-bottom: 2px solid #000000; + background: #d0e0e0; } +.py-prompt { color: #005050; font-weight: bold;} +.py-more { color: #005050; font-weight: bold;} +.py-string { color: #006030; } +.py-comment { color: #003060; } +.py-keyword { color: #600000; } +.py-output { color: #404040; } +.py-name { color: #000050; } +.py-name:link { color: #000050 !important; } +.py-name:visited { color: #000050 !important; } +.py-number { color: #005000; } +.py-defname { color: #000060; font-weight: bold; } +.py-def-name { color: #000060; font-weight: bold; } +.py-base-class { color: #000060; } +.py-param { color: #000060; } +.py-docstring { color: #006030; } +.py-decorator { color: #804020; } +/* Use this if you don't want links to names underlined: */ +/*a.py-name { text-decoration: none; }*/ + +/* Graphs & Diagrams + * - These CSS styles are used for graphs & diagrams generated using + * Graphviz dot. 'img.graph-without-title' is used for bare + * diagrams (to remove the border created by making the image + * clickable). + */ +img.graph-without-title { border: none; } +img.graph-with-title { border: 1px solid #000000; } +span.graph-title { font-weight: bold; } +span.graph-caption { } + +/* General-purpose classes + * - 'p.indent-wrapped-lines' defines a paragraph whose first line + * is not indented, but whose subsequent lines are. + * - The 'nomargin-top' class is used to remove the top margin (e.g. + * from lists). The 'nomargin' class is used to remove both the + * top and bottom margin (but not the left or right margin -- + * for lists, that would cause the bullets to disappear.) + */ +p.indent-wrapped-lines { padding: 0 0 0 7em; text-indent: -7em; + margin: 0; } +.nomargin-top { margin-top: 0; } +.nomargin { margin-top: 0; margin-bottom: 0; } + +/* HTML Log */ +div.log-block { padding: 0; margin: .5em 0 .5em 0; + background: #e8f0f8; color: #000000; + border: 1px solid #000000; } +div.log-error { padding: .1em .3em .1em .3em; margin: 4px; + background: #ffb0b0; color: #000000; + border: 1px solid #000000; } +div.log-warning { padding: .1em .3em .1em .3em; margin: 4px; + background: #ffffb0; color: #000000; + border: 1px solid #000000; } +div.log-info { padding: .1em .3em .1em .3em; margin: 4px; + background: #b0ffb0; color: #000000; + border: 1px solid #000000; } +h2.log-hdr { background: #70b0ff; color: #000000; + margin: 0; padding: 0em 0.5em 0em 0.5em; + border-bottom: 1px solid #000000; font-size: 110%; } +p.log { font-weight: bold; margin: .5em 0 .5em 0; } +tr.opt-changed { color: #000000; font-weight: bold; } +tr.opt-default { color: #606060; } +pre.log { margin: 0; padding: 0; padding-left: 1em; } diff --git a/www/python-api/epydoc.js b/www/python-api/epydoc.js new file mode 100644 index 0000000..e787dbc --- /dev/null +++ b/www/python-api/epydoc.js @@ -0,0 +1,293 @@ +function toggle_private() { + // Search for any private/public links on this page. Store + // their old text in "cmd," so we will know what action to + // take; and change their text to the opposite action. + var cmd = "?"; + var elts = document.getElementsByTagName("a"); + for(var i=0; i...
"; + elt.innerHTML = s; + } +} + +function toggle(id) { + elt = document.getElementById(id+"-toggle"); + if (elt.innerHTML == "-") + collapse(id); + else + expand(id); + return false; +} + +function highlight(id) { + var elt = document.getElementById(id+"-def"); + if (elt) elt.className = "py-highlight-hdr"; + var elt = document.getElementById(id+"-expanded"); + if (elt) elt.className = "py-highlight"; + var elt = document.getElementById(id+"-collapsed"); + if (elt) elt.className = "py-highlight"; +} + +function num_lines(s) { + var n = 1; + var pos = s.indexOf("\n"); + while ( pos > 0) { + n += 1; + pos = s.indexOf("\n", pos+1); + } + return n; +} + +// Collapse all blocks that mave more than `min_lines` lines. +function collapse_all(min_lines) { + var elts = document.getElementsByTagName("div"); + for (var i=0; i 0) + if (elt.id.substring(split, elt.id.length) == "-expanded") + if (num_lines(elt.innerHTML) > min_lines) + collapse(elt.id.substring(0, split)); + } +} + +function expandto(href) { + var start = href.indexOf("#")+1; + if (start != 0 && start != href.length) { + if (href.substring(start, href.length) != "-") { + collapse_all(4); + pos = href.indexOf(".", start); + while (pos != -1) { + var id = href.substring(start, pos); + expand(id); + pos = href.indexOf(".", pos+1); + } + var id = href.substring(start, href.length); + expand(id); + highlight(id); + } + } +} + +function kill_doclink(id) { + var parent = document.getElementById(id); + parent.removeChild(parent.childNodes.item(0)); +} +function auto_kill_doclink(ev) { + if (!ev) var ev = window.event; + if (!this.contains(ev.toElement)) { + var parent = document.getElementById(this.parentID); + parent.removeChild(parent.childNodes.item(0)); + } +} + +function doclink(id, name, targets_id) { + var elt = document.getElementById(id); + + // If we already opened the box, then destroy it. + // (This case should never occur, but leave it in just in case.) + if (elt.childNodes.length > 1) { + elt.removeChild(elt.childNodes.item(0)); + } + else { + // The outer box: relative + inline positioning. + var box1 = document.createElement("div"); + box1.style.position = "relative"; + box1.style.display = "inline"; + box1.style.top = 0; + box1.style.left = 0; + + // A shadow for fun + var shadow = document.createElement("div"); + shadow.style.position = "absolute"; + shadow.style.left = "-1.3em"; + shadow.style.top = "-1.3em"; + shadow.style.background = "#404040"; + + // The inner box: absolute positioning. + var box2 = document.createElement("div"); + box2.style.position = "relative"; + box2.style.border = "1px solid #a0a0a0"; + box2.style.left = "-.2em"; + box2.style.top = "-.2em"; + box2.style.background = "white"; + box2.style.padding = ".3em .4em .3em .4em"; + box2.style.fontStyle = "normal"; + box2.onmouseout=auto_kill_doclink; + box2.parentID = id; + + // Get the targets + var targets_elt = document.getElementById(targets_id); + var targets = targets_elt.getAttribute("targets"); + var links = ""; + target_list = targets.split(","); + for (var i=0; i" + + target[0] + ""; + } + + // Put it all together. + elt.insertBefore(box1, elt.childNodes.item(0)); + //box1.appendChild(box2); + box1.appendChild(shadow); + shadow.appendChild(box2); + box2.innerHTML = + "Which "+name+" do you want to see documentation for?" + + ""; + } + return false; +} + +function get_anchor() { + var href = location.href; + var start = href.indexOf("#")+1; + if ((start != 0) && (start != href.length)) + return href.substring(start, href.length); + } +function redirect_url(dottedName) { + // Scan through each element of the "pages" list, and check + // if "name" matches with any of them. + for (var i=0; i-m" or "-c"; + // extract the portion & compare it to dottedName. + var pagename = pages[i].substring(0, pages[i].length-2); + if (pagename == dottedName.substring(0,pagename.length)) { + + // We've found a page that matches `dottedName`; + // construct its URL, using leftover `dottedName` + // content to form an anchor. + var pagetype = pages[i].charAt(pages[i].length-1); + var url = pagename + ((pagetype=="m")?"-module.html": + "-class.html"); + if (dottedName.length > pagename.length) + url += "#" + dottedName.substring(pagename.length+1, + dottedName.length); + return url; + } + } + } diff --git a/www/python-api/frames.html b/www/python-api/frames.html new file mode 100644 index 0000000..1be3b82 --- /dev/null +++ b/www/python-api/frames.html @@ -0,0 +1,17 @@ + + + + + Python-LightMediaScanner API + + + + + + + + + diff --git a/www/python-api/help.html b/www/python-api/help.html new file mode 100644 index 0000000..f210da8 --- /dev/null +++ b/www/python-api/help.html @@ -0,0 +1,278 @@ + + + + + Help + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + +
[hide private]
[frames] | no frames]
+
+ +

API Documentation

+ +

This document contains the API (Application Programming Interface) +documentation for Python-LightMediaScanner API. Documentation for the Python +objects defined by the project is divided into separate pages for each +package, module, and class. The API documentation also includes two +pages containing information about the project as a whole: a trees +page, and an index page.

+ +

Object Documentation

+ +

Each Package Documentation page contains:

+
    +
  • A description of the package.
  • +
  • A list of the modules and sub-packages contained by the + package.
  • +
  • A summary of the classes defined by the package.
  • +
  • A summary of the functions defined by the package.
  • +
  • A summary of the variables defined by the package.
  • +
  • A detailed description of each function defined by the + package.
  • +
  • A detailed description of each variable defined by the + package.
  • +
+ +

Each Module Documentation page contains:

+
    +
  • A description of the module.
  • +
  • A summary of the classes defined by the module.
  • +
  • A summary of the functions defined by the module.
  • +
  • A summary of the variables defined by the module.
  • +
  • A detailed description of each function defined by the + module.
  • +
  • A detailed description of each variable defined by the + module.
  • +
+ +

Each Class Documentation page contains:

+
    +
  • A class inheritance diagram.
  • +
  • A list of known subclasses.
  • +
  • A description of the class.
  • +
  • A summary of the methods defined by the class.
  • +
  • A summary of the instance variables defined by the class.
  • +
  • A summary of the class (static) variables defined by the + class.
  • +
  • A detailed description of each method defined by the + class.
  • +
  • A detailed description of each instance variable defined by the + class.
  • +
  • A detailed description of each class (static) variable defined + by the class.
  • +
+ +

Project Documentation

+ +

The Trees page contains the module and class hierarchies:

+
    +
  • The module hierarchy lists every package and module, with + modules grouped into packages. At the top level, and within each + package, modules and sub-packages are listed alphabetically.
  • +
  • The class hierarchy lists every class, grouped by base + class. If a class has more than one base class, then it will be + listed under each base class. At the top level, and under each base + class, classes are listed alphabetically.
  • +
+ +

The Index page contains indices of terms and + identifiers:

+
    +
  • The term index lists every term indexed by any object's + documentation. For each term, the index provides links to each + place where the term is indexed.
  • +
  • The identifier index lists the (short) name of every package, + module, class, method, function, variable, and parameter. For each + identifier, the index provides a short description, and a link to + its documentation.
  • +
+ +

The Table of Contents

+ +

The table of contents occupies the two frames on the left side of +the window. The upper-left frame displays the project +contents, and the lower-left frame displays the module +contents:

+ + + + + + + + + +
+ Project
Contents
...
+ API
Documentation
Frame


+
+ Module
Contents
 
...
  +

+ +

The project contents frame contains a list of all packages +and modules that are defined by the project. Clicking on an entry +will display its contents in the module contents frame. Clicking on a +special entry, labeled "Everything," will display the contents of +the entire project.

+ +

The module contents frame contains a list of every +submodule, class, type, exception, function, and variable defined by a +module or package. Clicking on an entry will display its +documentation in the API documentation frame. Clicking on the name of +the module, at the top of the frame, will display the documentation +for the module itself.

+ +

The "frames" and "no frames" buttons below the top +navigation bar can be used to control whether the table of contents is +displayed or not.

+ +

The Navigation Bar

+ +

A navigation bar is located at the top and bottom of every page. +It indicates what type of page you are currently viewing, and allows +you to go to related pages. The following table describes the labels +on the navigation bar. Note that not some labels (such as +[Parent]) are not displayed on all pages.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LabelHighlighted when...Links to...
[Parent](never highlighted) the parent of the current package
[Package]viewing a packagethe package containing the current object +
[Module]viewing a modulethe module containing the current object +
[Class]viewing a class the class containing the current object
[Trees]viewing the trees page the trees page
[Index]viewing the index page the index page
[Help]viewing the help page the help page
+ +

The "show private" and "hide private" buttons below +the top navigation bar can be used to control whether documentation +for private objects is displayed. Private objects are usually defined +as objects whose (short) names begin with a single underscore, but do +not end with an underscore. For example, "_x", +"__pprint", and "epydoc.epytext._tokenize" +are private objects; but "re.sub", +"__init__", and "type_" are not. However, +if a module defines the "__all__" variable, then its +contents are used to decide which objects are private.

+ +

A timestamp below the bottom navigation bar indicates when each +page was last updated.

+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/identifier-index.html b/www/python-api/identifier-index.html new file mode 100644 index 0000000..a2f29ca --- /dev/null +++ b/www/python-api/identifier-index.html @@ -0,0 +1,400 @@ + + + + + Identifier Index + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + +
[hide private]
[frames] | no frames]
+
+ +
+

Identifier Index

+
+[ + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z + _ +] +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

A

+ + + + + + + + +

C

+ + + + + + + + + + + + + + + + + +

D

+ + + + + + + + + + + + +

G

+ + + + + + + + +

I

+ + + + + + + + +

L

+ + + + + + + + + + + + + + + + + +

N

+ + + + + + + + +

P

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

S

+ + + + + + + + + + + + +

U

+ + + + + + + + +

V

+ + + + + + + + +

_

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/index.html b/www/python-api/index.html new file mode 100644 index 0000000..1be3b82 --- /dev/null +++ b/www/python-api/index.html @@ -0,0 +1,17 @@ + + + + + Python-LightMediaScanner API + + + + + + + + + diff --git a/www/python-api/lightmediascanner-module.html b/www/python-api/lightmediascanner-module.html new file mode 100644 index 0000000..e02ce10 --- /dev/null +++ b/www/python-api/lightmediascanner-module.html @@ -0,0 +1,211 @@ + + + + + lightmediascanner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Package lightmediascanner

source code

+ + + + + + + +
+ + + + + +
Submodules[hide private]
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Variables[hide private]
+
+   + + LMS_PROGRESS_STATUS_UP_TO_DATE = 0 +
+   + + LMS_PROGRESS_STATUS_PROCESSED = 1 +
+   + + LMS_PROGRESS_STATUS_DELETED = 2 +
+   + + LMS_PROGRESS_STATUS_KILLED = 3 +
+   + + LMS_PROGRESS_STATUS_ERROR_PARSE = 4 +
+   + + LMS_PROGRESS_STATUS_ERROR_COMM = 5 +
+   + + LMS_PROGRESS_STATUS_SKIPPED = 6 +
+   + + __package__ = 'lightmediascanner' +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner-pysrc.html b/www/python-api/lightmediascanner-pysrc.html new file mode 100644 index 0000000..82e1cc5 --- /dev/null +++ b/www/python-api/lightmediascanner-pysrc.html @@ -0,0 +1,149 @@ + + + + + lightmediascanner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Package lightmediascanner

+
+ 1  # Copyright (C) 2007 by INdT 
+ 2  # 
+ 3  # This program is free software; you can redistribute it and/or 
+ 4  # modify it under the terms of the GNU Lesser General Public License 
+ 5  # as published by the Free Software Foundation; either version 2 
+ 6  # of the License, or (at your option) any later version. 
+ 7  # 
+ 8  # This program is distributed in the hope that it will be useful, 
+ 9  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
+10  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
+11  # GNU General Public License for more details. 
+12  # 
+13  # You should have received a copy of the GNU Lesser General Public License 
+14  # along with this program; if not, write to the Free Software 
+15  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
+16  # 
+17  # @author Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org> 
+18   
+19  from c_lightmediascanner import LightMediaScanner, \ 
+20       parser_info, parser_info_find, \ 
+21       parsers_list, parsers_list_by_category 
+22   
+23  LMS_PROGRESS_STATUS_UP_TO_DATE = 0 
+24  LMS_PROGRESS_STATUS_PROCESSED = 1 
+25  LMS_PROGRESS_STATUS_DELETED = 2 
+26  LMS_PROGRESS_STATUS_KILLED = 3 
+27  LMS_PROGRESS_STATUS_ERROR_PARSE = 4 
+28  LMS_PROGRESS_STATUS_ERROR_COMM = 5 
+29  LMS_PROGRESS_STATUS_SKIPPED = 6 
+30   
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner.c_lightmediascanner-module.html b/www/python-api/lightmediascanner.c_lightmediascanner-module.html new file mode 100644 index 0000000..5ed1723 --- /dev/null +++ b/www/python-api/lightmediascanner.c_lightmediascanner-module.html @@ -0,0 +1,360 @@ + + + + + lightmediascanner.c_lightmediascanner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner :: + Module c_lightmediascanner + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Module c_lightmediascanner

source code

+ + + + + + + + + + + + + + + +
+ + + + + +
Classes[hide private]
+
+   + + LightMediaScanner +
+   + + Parser +
+   + + ParserInfo +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Functions[hide private]
+
+   + + + + + + +
__bootstrap__() + source code + +
+ +
+   + + + + + + +
parser_info(...)
+ Retrieve information of parser given its path.
+ source code + +
+ +
+   + + + + + + +
parser_info_find(...)
+ Retrieve information of parser given its name.
+ source code + +
+ +
+   + + + + + + +
parsers_list(...)
+ Returns a list of paths to known parsers in this system.
+ source code + +
+ +
+   + + + + + + +
parsers_list_by_category(...) + source code + +
+ +
+ + + + + + + + + +
+ + + + + +
Variables[hide private]
+
+   + + __package__ = None +
+ + + + + + +
+ + + + + +
Function Details[hide private]
+
+ +
+ +
+ + +
+

parser_info(...) +

+
source code  +
+ +

Retrieve information of parser given its path.

+
+
Returns:
+
None if failed or ParserInfo otherwise.
+
+
+
+ +
+ +
+ + +
+

parser_info_find(...) +

+
source code  +
+ +

Retrieve information of parser given its name.

+
+
Returns:
+
None if failed or ParserInfo otherwise.
+
+
+
+ +
+ +
+ + +
+

parsers_list(...) +

+
source code  +
+ +

Returns a list of paths to known parsers in this system.

+

@return list of str @see parser_info()

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner.c_lightmediascanner-pysrc.html b/www/python-api/lightmediascanner.c_lightmediascanner-pysrc.html new file mode 100644 index 0000000..3fcadc4 --- /dev/null +++ b/www/python-api/lightmediascanner.c_lightmediascanner-pysrc.html @@ -0,0 +1,128 @@ + + + + + lightmediascanner.c_lightmediascanner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner :: + Module c_lightmediascanner + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module lightmediascanner.c_lightmediascanner

+
+
1 -def __bootstrap__(): +
2 global __bootstrap__, __loader__, __file__ +3 import sys, pkg_resources, imp +4 __file__ = pkg_resources.resource_filename(__name__,'c_lightmediascanner.so') +5 __loader__ = None; del __bootstrap__, __loader__ +6 imp.load_dynamic(__name__,__file__) +
7 __bootstrap__() +8 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html b/www/python-api/lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html new file mode 100644 index 0000000..c10e12f --- /dev/null +++ b/www/python-api/lightmediascanner.c_lightmediascanner.LightMediaScanner-class.html @@ -0,0 +1,891 @@ + + + + + lightmediascanner.c_lightmediascanner.LightMediaScanner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner :: + Module c_lightmediascanner :: + Class LightMediaScanner + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class LightMediaScanner

source code

+
+object --+
+         |
+        LightMediaScanner
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(...)
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ source code + +
+ +
+ a new object with type S, a subtype of T + + + + + + +
__new__(T, + S, + ...) + source code + +
+ +
+   + + + + + + +
__repr__(...)
+ repr(x)
+ source code + +
+ +
+   + + + + + + +
__str__(...)
+ str(x)
+ source code + +
+ +
+   + + + + + + +
charset_add(...)
+ Add charset to list of supported input charsets/encoding.
+ source code + +
+ +
+   + + + + + + +
charset_del(...)
+ Del charset from list of supported input charsets/encoding.
+ source code + +
+ +
+   + + + + + + +
check(...)
+ Check (and update) files under directory.
+ source code + +
+ +
+   + + + + + + +
check_single_process(...)
+ Check (and update) files under directory *without fork()-ing into + child process*.
+ source code + +
+ +
+   + + + + + + +
delete(...)
+ Delete all parsers and force wrapped object deletion
+ source code + +
+ +
+ int + + + + + + +
get_commit_interval(...) + source code + +
+ +
+ int + + + + + + +
get_slave_timeout(...) + source code + +
+ +
+ bool + + + + + + +
is_processing(...) + source code + +
+ +
+ Parser + + + + + + +
parser_add(...)
+ Add a new plugin/parser based on it's whole path to shared object.
+ source code + +
+ +
+   + + + + + + +
parser_del(...)
+ Delete a plugin/parser.
+ source code + +
+ +
+ Parser + + + + + + +
parser_find_and_add(...)
+ Add a new plugin/parser based on it's name.
+ source code + +
+ +
+   + + + + + + +
parsers_clear(...)
+ Delete all plugins/parsers
+ source code + +
+ +
+   + + + + + + +
process(...)
+ Process directory recursively.
+ source code + +
+ +
+   + + + + + + +
process_single_process(...)
+ Process directory recursively *without fork()-ing into child + process*.
+ source code + +
+ +
+   + + + + + + +
set_commit_interval(...)
+ Set the number of transactions between commits.
+ source code + +
+ +
+   + + + + + + +
set_progress_callback(...)
+ Set new progress callback.
+ source code + +
+ +
+   + + + + + + +
set_slave_timeout(...)
+ Set maximum time a parser may use.
+ source code + +
+ +
+   + + + + + + +
stop_processing(...)
+ Stop process/check
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __format__, + __getattribute__, + __hash__, + __reduce__, + __reduce_ex__, + __setattr__, + __sizeof__, + __subclasshook__ +

+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+   + + commit_interval +
+   + + db_path +
+   + + parsers +
+   + + slave_timeout +
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(...) +
(Constructor) +

+
source code  +
+ +

x.__init__(...) initializes x; see x.__class__.__doc__ for + signature

+
+
Overrides: + object.__init__ +
+
+
+
+ +
+ +
+ + +
+

__new__(T, + S, + ...) +

+
source code  +
+ + +
+
Returns: a new object with type S, a subtype of T
+
Overrides: + object.__new__ +
+
+
+
+ +
+ +
+ + +
+

__repr__(...) +
(Representation operator) +

+
source code  +
+ +

repr(x)

+
+
Overrides: + object.__repr__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

__str__(...) +
(Informal representation operator) +

+
source code  +
+ +

str(x)

+
+
Overrides: + object.__str__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

charset_add(...) +

+
source code  +
+ +

Add charset to list of supported input charsets/encoding.

+

If some string in analysed/parsed files are not UTF-8, then it will + try agains a list of charsets registered with this function.

+
+
+
+
+ +
+ +
+ + +
+

check(...) +

+
source code  +
+ +

Check (and update) files under directory.

+

This operates on all files in all sub directories of top_path using + the added parsers. If files are up to date, nothing is done, otherwise + they can be marked as deleted or updated if they still exists, but with + different size or modification time.

+
+
+
+
+ +
+ +
+ + +
+

check_single_process(...) +

+
source code  +
+ +

Check (and update) files under directory *without fork()-ing into + child process*.

+

This operates on all files in all sub directories of top_path using + the added parsers. If files are up to date, nothing is done, otherwise + they can be marked as deleted or updated if they still exists, but with + different size or modification time.

+
+
+
+
+ +
+ +
+ + +
+

process(...) +

+
source code  +
+ +

Process directory recursively.

+

This operates on all files in all sub directories of top_path using + the added parsers.

+
+
+
+
+ +
+ +
+ + +
+

process_single_process(...) +

+
source code  +
+ +

Process directory recursively *without fork()-ing into child + process*.

+

This operates on all files in all sub directories of top_path using + the added parsers.

+
+
+
+
+ +
+ +
+ + +
+

set_commit_interval(...) +

+
source code  +
+ +

Set the number of transactions between commits.

+

Sets how many transactions/files to handle in one commit, the more the + faster, but if one parser takes too long and it's killed due + slave_timeout being exceeded, then at most this number of transactions + will be lost.

+

Note that transaction here is not a single SQL statement, but it is + considered to be the processing of a file, which can be more than just + one.

+
+
+
+
+ +
+ +
+ + +
+

set_progress_callback(...) +

+
source code  +
+ +
+Set new progress callback.
+
+If you want to unset a callback, just use None.
+
+Function signature is:
+
+    C{function(lms, path, status, *args, **kargs)}
+
+with status being one of LMS_PROGRESS_STATUS_*.
+
+@parm: B{cb} a callable object or None to unset previously set callback.
+
+
+
+
+
+
+ +
+ +
+ + +
+

set_slave_timeout(...) +

+
source code  +
+ +

Set maximum time a parser may use.

+

This will be the timeout before killing the slave process running some + parser. If this happens, another slave process will be started to + continue from next file.

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner.c_lightmediascanner.Parser-class.html b/www/python-api/lightmediascanner.c_lightmediascanner.Parser-class.html new file mode 100644 index 0000000..e380cfb --- /dev/null +++ b/www/python-api/lightmediascanner.c_lightmediascanner.Parser-class.html @@ -0,0 +1,396 @@ + + + + + lightmediascanner.c_lightmediascanner.Parser + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner :: + Module c_lightmediascanner :: + Class Parser + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class Parser

source code

+
+object --+
+         |
+        Parser
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(...)
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ source code + +
+ +
+ a new object with type S, a subtype of T + + + + + + +
__new__(T, + S, + ...) + source code + +
+ +
+   + + + + + + +
__repr__(...)
+ repr(x)
+ source code + +
+ +
+   + + + + + + +
__str__(...)
+ str(x)
+ source code + +
+ +
+   + + + + + + +
delete(...)
+ Same as LightMediaScanner.parser_del(self).
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __format__, + __getattribute__, + __hash__, + __reduce__, + __reduce_ex__, + __setattr__, + __sizeof__, + __subclasshook__ +

+
+ + + + + + + + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+   + + name +
+   + + scanner +
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(...) +
(Constructor) +

+
source code  +
+ +

x.__init__(...) initializes x; see x.__class__.__doc__ for + signature

+
+
Overrides: + object.__init__ +
+
+
+
+ +
+ +
+ + +
+

__new__(T, + S, + ...) +

+
source code  +
+ + +
+
Returns: a new object with type S, a subtype of T
+
Overrides: + object.__new__ +
+
+
+
+ +
+ +
+ + +
+

__repr__(...) +
(Representation operator) +

+
source code  +
+ +

repr(x)

+
+
Overrides: + object.__repr__ +
(inherited documentation)
+ +
+
+
+ +
+ +
+ + +
+

__str__(...) +
(Informal representation operator) +

+
source code  +
+ +

str(x)

+
+
Overrides: + object.__str__ +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/lightmediascanner.c_lightmediascanner.ParserInfo-class.html b/www/python-api/lightmediascanner.c_lightmediascanner.ParserInfo-class.html new file mode 100644 index 0000000..6b6deb1 --- /dev/null +++ b/www/python-api/lightmediascanner.c_lightmediascanner.ParserInfo-class.html @@ -0,0 +1,374 @@ + + + + + lightmediascanner.c_lightmediascanner.ParserInfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package lightmediascanner :: + Module c_lightmediascanner :: + Class ParserInfo + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class ParserInfo

source code

+
+object --+
+         |
+        ParserInfo
+
+ +
+ + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(...)
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ source code + +
+ +
+ a new object with type S, a subtype of T + + + + + + +
__new__(T, + S, + ...) + source code + +
+ +
+   + + + + + + +
__str__(...)
+ str(x)
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __format__, + __getattribute__, + __hash__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __sizeof__, + __subclasshook__ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+   + + authors +
+   + + categories +
+   + + description +
+   + + name +
+   + + path +
+   + + uri +
+   + + version +
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(...) +
(Constructor) +

+
source code  +
+ +

x.__init__(...) initializes x; see x.__class__.__doc__ for + signature

+
+
Overrides: + object.__init__ +
+
+
+
+ +
+ +
+ + +
+

__new__(T, + S, + ...) +

+
source code  +
+ + +
+
Returns: a new object with type S, a subtype of T
+
Overrides: + object.__new__ +
+
+
+
+ +
+ +
+ + +
+

__str__(...) +
(Informal representation operator) +

+
source code  +
+ +

str(x)

+
+
Overrides: + object.__str__ +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/module-tree.html b/www/python-api/module-tree.html new file mode 100644 index 0000000..5fed987 --- /dev/null +++ b/www/python-api/module-tree.html @@ -0,0 +1,119 @@ + + + + + Module Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + +
[hide private]
[frames] | no frames]
+
+
+ [ Module Hierarchy + | Class Hierarchy ] +

+

Module Hierarchy

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/www/python-api/redirect.html b/www/python-api/redirect.html new file mode 100644 index 0000000..a720eec --- /dev/null +++ b/www/python-api/redirect.html @@ -0,0 +1,38 @@ +Epydoc Redirect Page + + + + + + + + +

Epydoc Auto-redirect page

+ +

When javascript is enabled, this page will redirect URLs of +the form redirect.html#dotted.name to the +documentation for the object with the given fully-qualified +dotted name.

+

 

+ + + + + diff --git a/www/python-api/toc-everything.html b/www/python-api/toc-everything.html new file mode 100644 index 0000000..5a6506f --- /dev/null +++ b/www/python-api/toc-everything.html @@ -0,0 +1,49 @@ + + + + + Everything + + + + + +

Everything

+
+

All Classes

+ lightmediascanner.c_lightmediascanner.LightMediaScanner
lightmediascanner.c_lightmediascanner.Parser
lightmediascanner.c_lightmediascanner.ParserInfo

All Functions

+ lightmediascanner.c_lightmediascanner.__bootstrap__
lightmediascanner.c_lightmediascanner.parser_info
lightmediascanner.c_lightmediascanner.parser_info_find
lightmediascanner.c_lightmediascanner.parsers_list
lightmediascanner.c_lightmediascanner.parsers_list_by_category

All Variables

+ lightmediascanner.LMS_PROGRESS_STATUS_DELETED
lightmediascanner.LMS_PROGRESS_STATUS_ERROR_COMM
lightmediascanner.LMS_PROGRESS_STATUS_ERROR_PARSE
lightmediascanner.LMS_PROGRESS_STATUS_KILLED
lightmediascanner.LMS_PROGRESS_STATUS_PROCESSED
lightmediascanner.LMS_PROGRESS_STATUS_SKIPPED
lightmediascanner.LMS_PROGRESS_STATUS_UP_TO_DATE
lightmediascanner.__package__
lightmediascanner.c_lightmediascanner.__package__

+[hide private] + + + + diff --git a/www/python-api/toc-lightmediascanner-module.html b/www/python-api/toc-lightmediascanner-module.html new file mode 100644 index 0000000..38ff5d1 --- /dev/null +++ b/www/python-api/toc-lightmediascanner-module.html @@ -0,0 +1,38 @@ + + + + + lightmediascanner + + + + + +

Module lightmediascanner

+
+

Variables

+ LMS_PROGRESS_STATUS_DELETED
LMS_PROGRESS_STATUS_ERROR_COMM
LMS_PROGRESS_STATUS_ERROR_PARSE
LMS_PROGRESS_STATUS_KILLED
LMS_PROGRESS_STATUS_PROCESSED
LMS_PROGRESS_STATUS_SKIPPED
LMS_PROGRESS_STATUS_UP_TO_DATE
__package__

+[hide private] + + + + diff --git a/www/python-api/toc-lightmediascanner.c_lightmediascanner-module.html b/www/python-api/toc-lightmediascanner.c_lightmediascanner-module.html new file mode 100644 index 0000000..81643db --- /dev/null +++ b/www/python-api/toc-lightmediascanner.c_lightmediascanner-module.html @@ -0,0 +1,41 @@ + + + + + c_lightmediascanner + + + + + +

Module c_lightmediascanner

+
+

Classes

+ LightMediaScanner
Parser
ParserInfo

Functions

+ __bootstrap__
parser_info
parser_info_find
parsers_list
parsers_list_by_category

Variables

+ __package__

+[hide private] + + + + diff --git a/www/python-api/toc.html b/www/python-api/toc.html new file mode 100644 index 0000000..aaa1a1e --- /dev/null +++ b/www/python-api/toc.html @@ -0,0 +1,34 @@ + + + + + Table of Contents + + + + + +

Table of Contents

+
+ Everything +
+

Modules

+ lightmediascanner
lightmediascanner.c_lightmediascanner

+ [hide private] + + + +